aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorPete Deffendol2012-09-10 09:13:48 -0600
committerJack Nagel2012-09-11 22:49:45 -0500
commiteab976bfb1438362ea48589eafdd4f8d6abb53ab (patch)
tree3511f52a9555e95b61521fc1d83f3b8c9f9a231e /Library
parent2ea24125c87bd1e398350a599e331e83bf3674ce (diff)
downloadhomebrew-eab976bfb1438362ea48589eafdd4f8d6abb53ab.tar.bz2
PostgreSQL 9.2
As always a dump and restore of a previous (9.1) database is required to upgrade. Closes #14834. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/postgresql.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb
index 27f96c464..8b78d4f26 100644
--- a/Library/Formula/postgresql.rb
+++ b/Library/Formula/postgresql.rb
@@ -2,8 +2,8 @@ require 'formula'
class Postgresql < Formula
homepage 'http://www.postgresql.org/'
- url 'http://ftp.postgresql.org/pub/source/v9.1.5/postgresql-9.1.5.tar.bz2'
- sha1 '8411f39e7cff8d691d908de7823b72426433faa2'
+ url 'http://ftp.postgresql.org/pub/source/v9.2.0/postgresql-9.2.0.tar.bz2'
+ sha1 '6ab154052dd62bb9b0cf2cd666384f7b25eefaf5'
depends_on 'readline'
depends_on 'libxml2' if MacOS.version == :leopard # Leopard libxml is too old
@@ -102,15 +102,15 @@ you may need to remove the previous version first. See:
To build plpython against a specific Python, set PYTHON prior to brewing:
PYTHON=/usr/local/bin/python brew install postgresql
See:
- http://www.postgresql.org/docs/9.1/static/install-procedure.html
+ http://www.postgresql.org/docs/9.2/static/install-procedure.html
# 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.1) of PostgreSQL, see:
- http://www.postgresql.org/docs/9.1/static/upgrading.html
+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
# Start/Stop PostgreSQL
@@ -143,14 +143,14 @@ 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
+ http://www.postgresql.org/docs/9.2/static/sql-createextension.html
For more information on extensions, see:
- http://www.postgresql.org/docs/9.1/static/contrib.html
+ http://www.postgresql.org/docs/9.2/static/contrib.html
# Other
Some machines may require provisioning of shared memory:
- http://www.postgresql.org/docs/current/static/kernel-resources.html#SYSVIPC
+ http://www.postgresql.org/docs/9.2/static/kernel-resources.html#SYSVIPC
EOS
if MacOS.prefer_64_bit? then