PostgreSQL: add extension instructions to caveats

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Chris Winslett 2011-12-12 20:50:28 -06:00 committed by Adam Vandenberg
parent be832713c4
commit 946c2dea75
1 changed files with 17 additions and 0 deletions

View File

@ -124,6 +124,23 @@ Or start manually with:
And stop with:
pg_ctl -D #{var}/postgres stop -s -m fast
# Loading Extensions
By default, Homebrew builds all available Contrib extensions. To see a list of all
available extensions, from the psql command line, run:
SELECT * FROM pg_available_extensions;
To load any of the extension names, navigate to the desired database and run:
CREATE EXTENSION [extension name];
For instance, to load the tablefunc extension in the current database, run:
CREATE EXTENSION tablefunc;
For more information on the CREATE EXTENSION command, see:
http://www.postgresql.org/docs/9.1/static/sql-createextension.html
For more information on extensions, see:
http://www.postgresql.org/docs/9.1/static/contrib.html
# Other
Some machines may require provisioning of shared memory: