Dropped doc about non-extension installation
This commit is contained in:
parent
329f30e3ce
commit
46dd16a6ed
@ -84,21 +84,12 @@ You can also use Microsoft Visual C++ 2010 to build the program on Windows.
|
|||||||
There are project files in the ``msvc`` folder.
|
There are project files in the ``msvc`` folder.
|
||||||
|
|
||||||
After installation, load the pg_repack extension in the database you want to
|
After installation, load the pg_repack extension in the database you want to
|
||||||
process. On PostgreSQL 9.1 and following pg_repack is packaged as an
|
process. pg_repack is packaged as an extension, so you can execute::
|
||||||
extension, so you can execute::
|
|
||||||
|
|
||||||
$ psql -c "CREATE EXTENSION pg_repack" -d your_database
|
$ psql -c "CREATE EXTENSION pg_repack" -d your_database
|
||||||
|
|
||||||
For previous PostgreSQL versions you should load the script
|
You can remove pg_repack using ``DROP EXTENSION pg_repack`` or just dropping
|
||||||
``$SHAREDIR/contrib/pg_repack.sql`` in the database to process; you can
|
the ``repack`` schema.
|
||||||
get ``$SHAREDIR`` using ``pg_config --sharedir``, e.g. ::
|
|
||||||
|
|
||||||
$ psql -f "$(pg_config --sharedir)/contrib/pg_repack.sql" -d your_database
|
|
||||||
|
|
||||||
You can remove pg_repack from a PostgreSQL 9.1 and following database using
|
|
||||||
``DROP EXTENSION pg_repack``. For previous Postgresql versions load the
|
|
||||||
``$SHAREDIR/contrib/uninstall_pg_repack.sql`` script or just drop the
|
|
||||||
``repack`` schema.
|
|
||||||
|
|
||||||
If you are upgrading from a previous version of pg_repack or pg_reorg, just
|
If you are upgrading from a previous version of pg_repack or pg_reorg, just
|
||||||
drop the old version from the database as explained above and install the new
|
drop the old version from the database as explained above and install the new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user