diff options
| author | Chris Winslett | 2011-12-12 20:50:28 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-03 22:01:45 -0800 |
| commit | 8cfb544f8ac47d56942ef76436fad067a7c2bf31 (patch) | |
| tree | 3ba41b343e1c41883afc2ae634537bb1dd856df0 /Library/Formula | |
| parent | 45dfa8b0ee24986d138dd54ff53854f7f7054d49 (diff) | |
| download | homebrew-8cfb544f8ac47d56942ef76436fad067a7c2bf31.tar.bz2 | |
PostgreSQL: add extension instructions to caveats
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/postgresql.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb index 9f57f2419..a4e41f745 100644 --- a/Library/Formula/postgresql.rb +++ b/Library/Formula/postgresql.rb @@ -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: |
