aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql84-server
Commit message (Collapse)AuthorAgeFilesLines
* The PostgreSQL Global Development Group today released updates for allPalle Girgensohn2011-12-054-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | active branches of the PostgreSQL object-relational database system, including versions 9.1.2, 9.0.6, 8.4.10, 8.3.17 and 8.2.23. This release contains 52 fixes to version 9.1, and a smaller number of fixes to older versions, including: - Fix bugs in information_schema.referential_constraints view** - Correct collations for citext columns and indexes** - Prevent possible crash when joining to a scalar function - Prevent transitory data corruption of GIN indexes after a crash - Prevent data corruption on TOAST columns when copying data - Fix failures during hot standby startup - Correct another "variable not found in subplan target list" bug - Fix bug with sorting on aggregate expressions in windowing functions - Multiple bug fixes for pg_upgrade - Change Foreign Key creation order to better support self-referential keys** - Multiple bug fixes to CREATE EXTENSION - Ensure that function return type and data returned from PL/perl agree - Ensure that PL/perl strings are always UTF-8 - Assorted bug fixes for various Extensions - Updates to the time zone database, particularly to CST6 Changes marked with ** above require additional, post-update steps in order to fix all described issues. URL: http://www.postgresql.org/docs/current/static/release.html Also, fix a pthread problem in the FreeBSD port. [1] PR: 160580 [1] Feature safe: yes Notes: svn path=/head/; revision=286930
* Add DTRACE option for postgresql84-serverChris Rees2011-11-301-2/+13
| | | | | | | | | | | | | | | | | | | | | | PR: ports/150431 Submitted by: rpaulo Fix compilation with GSSAPI PR: ports/161786 Submitted by: rea Reviewed by: mandree, John Marshall <john.marshall@riverwillow.com.au> Mark IGNORE if DTRACE enabled for FreeBSD < 900021 without userland dtrace PR: ports/152502 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk> Approved by: maintainer timeout (girgen, at least 2 months) Feature safe: yes Notes: svn path=/head/; revision=286685
* Actually add the pgsql users on installChris Rees2011-11-021-1/+7
| | | | | | | | PR: ports/162239 Approved by: portmgr (pav) Notes: svn path=/head/; revision=284932
* Make SSL available as an optionMartin Matuska2011-10-211-12/+12
| | | | | | | | PR: ports/161330 Approved by: maintainer (timeout) Notes: svn path=/head/; revision=284076
* - Fix packaging issue (missed %%PG_USER%% in pkg-plist-server)Chris Rees2011-10-202-0/+2
| | | | | | | | | | | - Remove extra bsd.port.pre.mk include from postgresql82-server PR: ports/161816 ports/161824 ports/161821 Submitted by: Jason Helfman (jhelfman@e-e.com) Approved by: portmgr (pav) Notes: svn path=/head/; revision=284016
* This time remember to bump PORTREVISIONChris Rees2011-10-191-1/+1
| | | | Notes: svn path=/head/; revision=283933
* Fix SUB_LIST issue by deconditionalising it.Chris Rees2011-10-191-3/+4
| | | | | | | | | | | Temporary fix, but will stop the flurry of incoming PRs related. PR: ports/161779 ports/161774 ports/161791 ports/161771 ports/161769 Submitted by: Many people, original fix suggested by Jason Helfman (jhelfman@e-e.com) Approved by: portmgr (pav) Notes: svn path=/head/; revision=283932
* The PostgreSQL Global Development Group today released minor version updatesPalle Girgensohn2011-10-188-117/+68
| | | | | | | | | | | | | | | | for all active branches of the PostgreSQL object-relational database system, including versions 9.1.1, 9.0.5, 8.4.9, 8.3.16 and 8.2.22. All users are strongly urged to update their installations at the next scheduled downtime. URL: http://www.postgresql.org/about/news.1355 Cleanup ports. Better handling of the knob PG_USER. Also add uuid to 9.0 and 9.1 contrib ports. Notes: svn path=/head/; revision=283757
* - Unbreak postgresql-plpython: allow build with threaded pythonSunpoet Po-Chuan Hsieh2011-10-021-0/+11
| | | | | | | | | | - Pass maintainership to submitter PR: ports/159843 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Notes: svn path=/head/; revision=282829
* PostgreSQL: unbreak 'make describe'Eygene Ryabinkin2011-09-251-0/+2
| | | | | | | | | | | It was a really bad idea to include bsd.port.pre.mk inside a conditional expression. Detected by: portsnap buildbox Pointyhat to: rea Notes: svn path=/head/; revision=282382
* PostgreSQL: unbreak GSSAPI supportEygene Ryabinkin2011-09-251-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem with GSSAPI without Kerberos is that configure.in has very funny logics of choosing GSSAPI libraries: {{{ if test "$with_gssapi" = yes ; then if test "$PORTNAME" != "win32"; then AC_SEARCH_LIBS(gss_init_sec_context, [gssapi_krb5 gss 'gssapi -lkrb5 -lcrypto'], [], [AC_MSG_ERROR([could not find function 'gss_init_sec_context' required for GSSAPI])]) else LIBS="$LIBS -lgssapi32" fi fi }}} This makes configure to happily choose -lgssapi_krb5 when the system has Kerberos support (NO_KERBEROS is absent), but ld's '--as-needed' will throw this library away when no Kerberos functions are used and linker won't produce 'postgres' binary whining about unresolved symbols: {{{ cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes \ -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels \ -fno-strict-aliasing -fwrapv -L../../src/port -L/usr/local/lib \ -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/local/lib \ -Wl,--as-needed -Wl,-R'/usr/local/lib' -Wl,-export-dynamic \ [... a bunch of *.o files was stripped ...] ../../src/timezone/pgtz.o ../../src/port/libpgport_srv.a -lintl -lssl \ -lcrypto -lgssapi_krb5 -lcrypt -lm -o postgres libpq/auth.o: In function `pg_GSS_error': auth.c:(.text+0x6e): undefined reference to `gss_display_status' auth.c:(.text+0x8e): undefined reference to `gss_release_buffer' auth.c:(.text+0xc5): undefined reference to `gss_display_status' auth.c:(.text+0xe5): undefined reference to `gss_release_buffer' libpq/auth.o: In function `ClientAuthentication': auth.c:(.text+0x82d): undefined reference to `gss_delete_sec_context' auth.c:(.text+0x941): undefined reference to `gss_accept_sec_context' auth.c:(.text+0x9f1): undefined reference to `gss_release_buffer' auth.c:(.text+0xaf3): undefined reference to `gss_release_cred' auth.c:(.text+0xb10): undefined reference to `gss_display_name' auth.c:(.text+0xbc8): undefined reference to `gss_release_buffer' auth.c:(.text+0x10b0): undefined reference to `gss_release_buffer' auth.c:(.text+0x111e): undefined reference to `gss_release_buffer' libpq/pqcomm.o: In function `pq_close': pqcomm.c:(.text+0x105a): undefined reference to `gss_delete_sec_context' pqcomm.c:(.text+0x107d): undefined reference to `gss_release_cred' gmake: *** [postgres] Error 1 }}} Also, ports for PostgreSQL 8.4 and 9.0 had their <bsd.port.pre.mk> misplaced: OPTIONS came after it, so WITH_/WITHOUT_ knobs will not be really activated. PR: 160050 Feature safe: yes Approved by: maintainer timeout (1 month) Notes: svn path=/head/; revision=282381
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)Dmitry Marakasov2011-09-231-2/+1
| | | | | | | | | | | | - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav Notes: svn path=/head/; revision=282282
* - Hack to allow building of -client port. The OPTIONS handling is still broken.Pav Lucistnik2011-09-011-1/+1
| | | | | | | Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Notes: svn path=/head/; revision=281006
* Revert previous commit -- appears to cause rc problems as I missed some subsChris Rees2011-08-153-3/+49
| | | | | | | | | | | http://www.mail-archive.com/freebsd-ports@freebsd.org/msg35324.html PR: ports/157558 ports/157559 ports/157666 ports/157669 Submitted by: rihad@mail.ru Approved by: maintainer (girgen; implicit -- this reverts a commit I did after maintainer timeout) Notes: svn path=/head/; revision=279751
* - Fix databases/p5-postgresql-plperl build with Perl 5.14Sunpoet Po-Chuan Hsieh2011-08-141-0/+28
| | | | | | | | | | | | This patch is for PostgreSQL 8.2, 8.3, 8.4 and 9.0. PostgreSQL 9.1 has it already. PR: ports/158727 Submitted by: sunpoet (myself) Approved by: girgen (maintainer timeout, 5 weeks) Notes: svn path=/head/; revision=279659
* Use USERS and GROUPSChris Rees2011-08-123-49/+3
| | | | | | | | | PR: ports/157666 Submitted by: me Approved by: maintainer timeout (girgen, 8 weeks) Notes: svn path=/head/; revision=279538
* - update ICU to 4.8Baptiste Daroussin2011-07-102-3/+3
| | | | | | | | | - chase library bump - add an entry in UPDATING for instructions - remove old conflict lines Notes: svn path=/head/; revision=277485
* - Mark BROKEN on FreeBSD 9.X: does not linkPav Lucistnik2011-05-171-1/+4
| | | | | | | | | | | libpq/auth.o: In function `pg_GSS_error': auth.c:(.text+0x6e): undefined reference to `gss_display_status' [..] Reported by: pointyhat Notes: svn path=/head/; revision=274243
* Fix a problem with creating the postgresql user when using a package.Palle Girgensohn2011-05-022-11/+13
| | | | Notes: svn path=/head/; revision=273491
* Fix problem creating postgres user when PGUSER was set.Palle Girgensohn2011-04-273-70/+67
| | | | | | | PR: 156662 Notes: svn path=/head/; revision=273257
* Update PostgreSQL to 9.0.4, 8.4.8, 8.3.15 and 8.2.21.Palle Girgensohn2011-04-188-29/+47
| | | | | | | | | | | | | | | | | | | | | | | | | This update contains a critical fix to the pg_upgrade utility which prevents significant downtime issues. Do not use pg_upgrade without installing this update first. The issue with pg_upgrade and the fix are detailed on the PostgreSQL wiki: http://wiki.postgresql.org/wiki/20110408pg_upgrade_fix Users who have already used pg_upgrade should run the database repair script given on that page on their databases as soon as possible. See the release notes for each version at http://www.postgresql.org/docs/current/static/release.html for a full list of changes with details. Allow the username of the postgresql user to configurable for 8.4 and 9.0. Largely inspired by the work of Jason Helfman [153668, 153136]. Change PGUSER knob to PG_USER not to clash with PGUSER environment. PR: 153668, 153136, 155493, 155137 Notes: svn path=/head/; revision=272900
* Update to versions 9.0.3, 8.4.7, 8.3.14 and 8.2.20.Palle Girgensohn2011-02-012-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This update includes a security fix which prevents a buffer overrun in the contrib module intarray's input function for the query_int type. This bug is a security risk since the function's return address could be overwritten by malicious code. All supported versions of PostgreSQL are impacted. However, the affected contrib module is optional. Only users who have installed the intarray module in their database are affected. See the CVE Advisory at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4015 This release includes 63 bugfixes, including: - Avoid unexpected conversion overflow in planner for distant date values - Fix assignment to an array slice that is before the existing range of subscripts - Fix pg_restore to do the right thing when escaping large objects - Avoid failures when EXPLAIN tries to display a simple-form CASE expression - Improved build support for Windows version - Fix bug in contrib/seg's GiST picksplit algorithm which caused performance degredation The 9.0.3 update also contains several fixes for issues with features introduced or changed in version 9.0: - Ensure all the received WAL is fsync'd to disk before exiting walreceiver - Improve performance of walreceiver by avoiding excess fsync activity - Make ALTER TABLE revalidate uniqueness and exclusion constraints when needed - Fix EvalPlanQual for UPDATE of an inheritance tree when the tables are not all alike PR: ports/154436 Security: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-4015 Feature safe: yes Approved by: portmgr Notes: svn path=/head/; revision=268521
* Fix @dirrmtry since it already filter stderr and return true.Andrej Zverev2011-01-301-6/+6
| | | | | | | | | | PR: ports/153894 Submitted by: az@ Approved by: maintainer (timeout) Feature safe: yes Notes: svn path=/head/; revision=268415
* - Update to 8.4.6Martin Matuska2010-12-313-17/+22
| | | | | | | | | | - Unify ICU handling PR: ports/153245 Approved by: maintainer (timeout) Notes: svn path=/head/; revision=267207
* - Prepare for devel/icu4 deletionBaptiste Daroussin2010-12-162-15/+6
| | | | | | | | | - fix py-icu with icu4.6 - fix portsgresql*server with icu 4.6 - remove now useless icu patch from webkit Notes: svn path=/head/; revision=266446
* Chase devel/icu upgradeBaptiste Daroussin2010-12-151-3/+3
| | | | | | | Add an updating note Notes: svn path=/head/; revision=266338
* - Fix build if WITH_ICU or WITH_ICU4 defined (bsd.autotools.mk update)Martin Matuska2010-12-091-1/+1
| | | | | | | Approved by: portmgr (pav) Notes: svn path=/head/; revision=265929
* Sync to new bsd.autotools.mkAde Lovett2010-12-041-1/+1
| | | | Notes: svn path=/head/; revision=265663
* - Use dirrmtry on share/postgresql/tsearch_data for postgresql{83|84|90}-serverSunpoet Po-Chuan Hsieh2010-11-222-2/+2
| | | | | | | | | | | - Bump PORTREVISION PR: ports/151882 Submitted by: sunpoet (myself) Approved by: girgen (maintainer timeout, 20 days) Notes: svn path=/head/; revision=264939
* - Fix optional dependency on security/heimdalRene Ladan2010-11-211-1/+2
| | | | | | | | | | | | - Bump PORTREVISION PR: ports/152029 Submitted by: Joerg Pulz [Joerg.Pulz frm2.tum.de] Approved by: Ryan Steinmetz <rpsfa@rit.edu> (maintainer of net/freeradius*) girgen (maintainer of databases/postgresql*-server, 14 day timeout) Notes: svn path=/head/; revision=264890
* Punt autoconf267->autoconf268Ade Lovett2010-10-161-1/+1
| | | | Notes: svn path=/head/; revision=263089
* Update all PostgreSQL ports to latest versions.Palle Girgensohn2010-10-074-34/+60
| | | | | | | | | | | Also, try to break the previous 1:1 relation between FreeBSD system and PostgreSQL versions installed. Use different PREFIX:es to install different versions on the same system. PR: ports/132402, ports/145002, ports/146657 Notes: svn path=/head/; revision=262548
* - fix autoconf limitation in configure.in if WITH_ICU or WITH_ICU4 are usedMartin Matuska2010-10-061-0/+5
| | | | | | | | PR: ports/151066, ports/150635 Approved by: maintainer (timeout in ports/150635) Notes: svn path=/head/; revision=262524
* Autotools update. Read ports/UPDATING 20100915 for details.Ade Lovett2010-09-151-2/+2
| | | | | | | | Approved by: portmgr (for Mk/bsd.port.mk part) Tested by: Multiple -exp runs Notes: svn path=/head/; revision=261230
* Fix build with ICU4 option after ICU 4.4 updateMartin Matuska2010-08-052-4/+4
| | | | | | | | PR: ports/148837 Approved by: maintainer (timeout) Notes: svn path=/head/; revision=258829
* BROKEN should not be quoted.Erwin Lansing2010-06-131-1/+1
| | | | | | | No functional change. Notes: svn path=/head/; revision=256468
* Fix package listPalle Girgensohn2010-06-052-0/+7
| | | | Notes: svn path=/head/; revision=255766
* Fix broken plistPalle Girgensohn2010-06-022-32/+38
| | | | | | | PR: ports/147312 Notes: svn path=/head/; revision=255510
* Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.Ade Lovett2010-05-311-0/+1
| | | | Notes: svn path=/head/; revision=255371
* - Mark client port broken - leaves files behind on deinstallPav Lucistnik2010-05-301-0/+2
| | | | | | | Reported by: pointyhat Notes: svn path=/head/; revision=255338
* Update all PostgreSQL ports to latest version.Palle Girgensohn2010-05-204-12/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove postgresql-contrib in favour for postgresqlNN-contrib. This way we will get packages built, which is nice. Security: CVE-2010-1169 Security: CVE-2010-1170 The PostgreSQL Project today released minor versions updating all active branches of the PostgreSQL object-relational database system, including versions 8.4.4, 8.3.11, 8.2.17, 8.1.21, 8.0.25, and 7.4.29. This release fixes moderate-risk security issues with PL/perl and PL/tcl, as well as a data corruption issue with standby databases. Users of any of these three features should update their PostgreSQL installations immediately. The PL/perl security fix closes a security hole in PL/perl procedures which could allow privilege escalation on the host system, caused by a flaw in Safe.pm; see CVE-2010-1169 and CVE-2010-1447 for details. A second patch prevents PL/tcl's pltcl_modules table from being subverted in order to run arbitrary Tcl scripts; see CVE-2010-1170. These issues only affect users who have enabled either of these two stored procedure languages. Also corrected is use of the command ALTER TABLE SET TABLESPACE, which previously could cause data corruption on Warm Standby database slaves. This issue affects only version 8.4. There are also 21 other bug fixes in this release, some of which apply only to version 8.4, and a few of which are specifically for Windows. While these are generally fixes for minor issues, among the changes are: * Fix for a combinational crash condition * Prevent normal users from resetting some GUCs in their own role definitions * Correctly apply constraint exclusion in UPDATE and DELETE queries * Minor fixes for WAL archiving * Update timezone data for 12 zones See the release notes for a full list of changes with details. Releasenotes at http://www.postgresql.org/docs/current/static/release.html Notes: svn path=/head/; revision=254659
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-271-1/+1
| | | | | | | s#. %%RC_SUBR%%#. /etc/rc.subr# Notes: svn path=/head/; revision=251553
* - Add ICU 4.x supportMartin Matuska2010-03-252-3/+44
| | | | | | | | | | | - Bump PORTREVISION PR: ports/143841 Submitted by: Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua> Approved by: maintainer (timeout) Notes: svn path=/head/; revision=251513
* Update to 8.4.3.Xin LI2010-03-253-5/+7
| | | | | | | | | | PR: ports/144863 Submitted by: Alexander <alp rsu ru> Security: e050119b-3856-11df-b2b2-002170daae37 With hat: ports-security@ Notes: svn path=/head/; revision=251509
* Reintegrate the patch for ICU (unicode support).Palle Girgensohn2010-02-032-8/+11
| | | | Notes: svn path=/head/; revision=249180
* PTHREAD_[CFLAGS|LDFLAGS] are already set in CONFIGURE_ENV.Alex Dupre2010-01-041-3/+0
| | | | | | | Approved by: portmgr and maintainer timeout (1 month) Notes: svn path=/head/; revision=247147
* Don't link unneeded PTHREAD_LIBS. This fixes php extensions and apache modules.Alex Dupre2010-01-041-0/+4
| | | | | | | Approved by: portmgr and maintainer timeout (1 month) Notes: svn path=/head/; revision=247146
* - Update to 8.4.2Martin Matuska2009-12-173-4/+5
| | | | | | | | | | | | Security: CVE-2009-4034 Security: CVE-2009-4136 Security: http://portaudit.freebsd.org/e7bc5600-eaa0-11de-bd9c-00215c6a37bb.html PR: ports/141639 Submitted by: Alexander Pyhalov <alp@rsu.ru> Approved by: ports-security (delphij) Notes: svn path=/head/; revision=246051
* - Update to 8.4.1Martin Matuska2009-12-025-21/+34
| | | | | | | | | | | - Set INTDATE on as default (this is default by PostgreSQL) PR: ports/139277 Submitted by: Olli Hauer <ohauer@gmx.de> Approved by: maintainer timeout (2 months) Notes: svn path=/head/; revision=245131
* - Fix plist for contribPav Lucistnik2009-09-191-3/+0
| | | | | | | | | | | PR: ports/136654, ports/136962 Reported by: YAMAMOTO Takao <takao@oakat.org>, Gergely Czuczy <gergely.czuczy@harmless.hu> Approved by: maintainer timeout (girgen; 2 months) Feature safe: yes Notes: svn path=/head/; revision=241783