mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 21:49:49 -05:00
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>
This commit is contained in:
1 parent
2ea24125c8
commit
eab976bfb1
1 file changed
+8
-8
@@ -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
|
||||
|
||||
Reference in new issue
Block a user