Commit Graph
83 Commits
Author SHA1 Message Date
Jack Nagel b910c6263a postgresql: use default optimization
We default to Os now, so we don't need to force O2.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11 22:49:55 -05:00
Pete Deffendol eab976bfb1 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>
2012-09-11 22:49:45 -05:00
Jack Nagel 6b8d25f2d2 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Adam Vandenberg 7334e4b990 Let plists be installed automatically 2012-09-09 13:02:48 -07:00
Ealden Esto E. Escanan 1c8c93633f PostgreSQL 9.1.5
Closes #14662.

Signed-off-by: Ealden Esto E. Escanan <ealden@gmail.com>
Closes #14662.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-03 08:28:38 -07:00
Thomas Dippel c40c7bf0d7 postgresql: explicitly initialize with utf8 encoding
If we d not explicitly specify utf8 as the encoding, the server will be
initialized with ASCII encoding for the template1 database, which causes
problems when trying to create new databases with UTF8 encoding.

Closes #14149.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-22 09:31:46 -07:00
Jack Nagel 15a4e8d359 postgresql: don't call uuid-config if building without ossp-uuid
Fixes #14314.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-20 21:07:19 -05:00
Charlie Sharpsteen 57cb727a3c postgresql: Don't depend on ossp-uuid if building without
Fixes #14296.
2012-08-19 16:34:59 -07:00
Jack Nagel 3b08f8b4f8 postgresql: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13 15:42:59 -05:00
Steven Schlansker cd77baf2e2 PostgreSQL: build uuid-ossp with _XOPEN_SOURCE.
Fixes build on Mountain Lion

Fixes #10315.
Fixes #13639.
Closes #13803.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-31 07:05:33 -07:00
Adam Vandenberg c75f72d969 postgresql: update Python patch per MacPorts 2012-07-26 23:07:46 -07:00
Jack Nagel 611342cb83 postgresql: fix audit warning
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-10 15:52:08 -05:00
Clay McClure f6b13f4210 postgresql: fix PL/Python build
Fixes #11162
Closes #12134

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-07 21:20:27 -07:00
Ali Asad Lotia dd9891c268 postgresql 9.1.4
Closes #12644.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-07 16:14:31 -05:00
Brian Cunnie & Matthew Kocher 05c7954306 postgresql: optional ossp-uuid
A certain large cat doesn't work with ossp-uuid.

Closes #12210.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-06-05 10:17:19 -07:00
Pete Deffendol e088818a13 PostgreSQL 9.1.3
Closes #10537.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-27 17:08:33 -06:00
Adam Vandenberg dfcc838b66 Add "require hardware" to formula.rb
Now individual formulae don't need to require this if they want to use
Hardware methods outside of `def install`.
2012-02-25 15:22:32 -08:00
Adam Vandenberg dfc4dfa43a postgresql: style clean-ups 2012-02-07 21:47:54 -08:00
Matthew Lewinski c2b8e871db Minor cleanup on plist caveats.
Use basename to refer to plist file when loaded. Make cp lines same
across formulas.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-04 08:07:35 -08:00
Adam Vandenberg 794d340810 postgresql: add 32-bit only build 2012-02-03 22:11:20 -08:00
Chris Winslett 8cfb544f8a PostgreSQL: add extension instructions to caveats
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-03 22:01:45 -08:00
Jack Nagel b5a5217ba3 Add and use plist helper methods
These will be used to unify the label namespaces in embedded plists,
i.e. 'homebrew.mxcl.<formula>'.

plist_path returns the full path to a plist file located at the top
level of the keg; plist_path.basename can be used if just the filename
is needed.

c.f. #9346.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:50:58 -06:00
Jack Nagel 95e379faf1 Normalize paths in embedded plist files
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03 19:28:56 -06:00
Brett Koonce 6e2d550cf4 Fix spelling mistakes
Closes #9449.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06 09:43:54 -06:00
Jay Levitt 94995df0f9 PostgreSQL 9.1.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-10 13:38:04 -08:00
Keith Marcum 4ef8fb03ad Postgres changed their ftp urls
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-04 11:57:29 -08:00
Pete Deffendol dcfd4ed79a PostgreSQL 9.1.1
* Cleaned up the build process, thanks to GitHub user daddy2times
 * Cleaned up caveats and added information about upgrading pre-9.1 databases

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-09 21:18:18 -08:00
Cameron Walters (cee-dub) 2accac42dd PostgreSQL: set a StandardErrorPath
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-09-03 11:59:12 -07:00
Adam Vandenberg a840c4a17d Fix plist permissions for Lion 2011-09-02 14:41:57 -07:00
Kashif Rasul 917bdbc823 postgresql: option to dtrace probes
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27 11:26:54 -07:00
Adam Vandenberg 1accde34ce postgresql: add caveat about shared memory 2011-06-03 21:04:27 -07:00
Pete Deffendol 70ff0c7ce7 PostgreSQL 9.0.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-26 13:40:07 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Matt Wildig ee490cc7dc Tidy up postgresql share/ and include docs
Files go into share/postgresql and docs into share/docs/postgresql
instead of directly into share and share/docs.

Also include docs (man & html) which weren't being included in install
step of build (see
http://archives.postgresql.org/pgsql-bugs/2010-10/msg00156.php).

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-01 15:49:55 -07:00
Adam Vandenberg 46c553ad43 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Carlos Rodriguez f94333ce4f Clean up LaunchAgent caveats.
Documentation now has instructions on creating ~/Library/LaunchAgents
directory for first time installs of Formulas.
Appending trailing slash to Formula documentation in regards to copying
plists to LaunchAgents directory.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-05 10:13:14 -08:00
Pavel Lazureykis 2ad1b03174 postgres updated to 9.0.3
Signed-off-by: Pavel Lazureykis <lazureykis@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-07 12:28:32 -08:00
Grant Hutchins 2c3b88aaed postgresql: install all contrib modules
Closes #3559.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-01-20 22:40:09 +00:00
Charlie Sharpsteen ca284fb880 Bumped PostgreSQL to 9.0.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-01-01 16:53:37 -08:00
Dan Callahan b7fab6cb40 Fix typo in PostgreSQL formula
Closes #3752.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-30 15:27:17 +00:00
Tianyi Cui 7871a99fe3 Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg 0e33d1ef22 Postgresql - add link about build failures 2010-10-30 22:02:59 -07:00
seb 3aada08046 recommend pg gem instead of outdated postgres gem
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-07 06:56:55 -07:00
Michael Weisman f679250c0e postgresql - add hstore contrib module
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-06 06:42:39 -07:00
Michael Weisman c28609a0c9 upgraded postgres to 9.0.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-06 06:42:25 -07:00
Jannis Leidel 1168d8ffa8 Postgresql 9.0: add pg_upgrade to the extensions
Useful for 8.X > 9.X upgrades

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-20 15:26:40 -07:00
Aku Kotkavuo 7dc7ccef9e Update PostgreSQL to 9.0.0.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-19 11:22:56 -07:00
Gerad Suyderhoud c32bea0f19 update the postgres formula to build the intarray contrib module
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-16 09:31:26 -07:00
Adam Vandenberg 31f1fabd03 Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-22 20:11:03 -07:00