aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-21 17:33:20 -0700
committerAdam Vandenberg2013-06-21 17:33:20 -0700
commit2f3011076ca005486af5566235ad499419403f06 (patch)
treebdb1e2ad63f7d058292eead5c8218c41a61467b1 /Library/Formula
parent5485e9d70a19525cb7412bf7be1e26b0774717e5 (diff)
downloadhomebrew-2f3011076ca005486af5566235ad499419403f06.tar.bz2
postgresl: remove extension caveats
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/postgresql.rb22
1 files changed, 1 insertions, 21 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb
index a57921714..f6762a6ec 100644
--- a/Library/Formula/postgresql.rb
+++ b/Library/Formula/postgresql.rb
@@ -97,38 +97,18 @@ class Postgresql < Formula
def caveats
s = <<-EOS.undent
- # Build Notes
-
If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. See:
https://github.com/mxcl/homebrew/issues/issue/2510
- # Create/Upgrade a Database
If this is your first install, create a database with:
initdb #{var}/postgres -E utf8
+
To migrate existing data from a previous major version (pre-9.2) of PostgreSQL, see:
http://www.postgresql.org/docs/9.2/static/upgrading.html
- # 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.2/static/sql-createextension.html
- For more information on extensions, see:
- http://www.postgresql.org/docs/9.2/static/contrib.html
-
- # Other
Some machines may require provisioning of shared memory:
http://www.postgresql.org/docs/9.2/static/kernel-resources.html#SYSVIPC