aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql74-server
Commit message (Collapse)AuthorAgeFilesLines
* Let postgresql (libpq.so) only link with the Kerberos implementationsPalle Girgensohn2005-11-141-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | installed from ports. The base heimdal distribution installs libraries that have no depenency information. While this is quite correct, it means that each library that links with libpq.so must also know if libpq.so is linked with libkrb.so et al. Problem is, there's no good way to get this information (pg_config has a --libs option starting at version 8.1) and all ports using postgresql must be changed to make it possible to link with a libpq.so that was configured to use the Kerberos implementation installed in /usr by default. Hence, we require one of the ports (heimdal or krb5) if postgresql is to be linked with Kerberos. At least for now, until we can fix this in some better way. Also, if MIT Kerberos (security/krb5) is installed, users should ideally remove the base heimdal installation so linkers will not pick it up in preference to the krb5 libs (base heimdal has higher version numbers than krb5 port). PR: 80869, 88098, 85178 Notes: svn path=/head/; revision=148301
* Upgrade to version 7.4.9Palle Girgensohn2005-10-052-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migration to version 7.4.9 A dump/restore is not required for those running 7.4.X. However, if you are upgrading from a version earlier than 7.4.8, see the release notes for 7.4.8. __________________________________________________________________ Changes * Fix error that allowed "VACUUM" to remove ctid chains too soon, and add more checking in code that follows ctid links This fixes a long-standing problem that could cause crashes in very rare circumstances. * Fix CHAR() to properly pad spaces to the specified length when using a multiple-byte character set (Yoshiyuki Asaba) In prior releases, the padding of CHAR() was incorrect because it only padded to the specified number of bytes without considering how many characters were stored. * Fix the sense of the test for read-only transaction in "COPY" The code formerly prohibited "COPY TO", where it should prohibit "COPY FROM". * Fix planning problem with outer-join ON clauses that reference only the inner-side relation * Further fixes for x FULL JOIN y ON true corner cases * Make array_in and array_recv more paranoid about validating their OID parameter * Fix missing rows in queries like UPDATE a=... WHERE a... with GiST index on column a * Improve robustness of datetime parsing * Improve checking for partially-written WAL pages * Improve robustness of signal handling when SSL is enabled * Don't try to open more than max_files_per_process files during postmaster startup * Various memory leakage fixes * Various portability improvements * Fix PL/PgSQL to handle var := var correctly when the variable is of pass-by-reference type * Update "contrib/tsearch2" to use current Snowball code Notes: svn path=/head/; revision=144234
* Update PostgreSQL to latest versions. For details on the fixes,Palle Girgensohn2005-05-104-175/+10
| | | | | | | | | | | | | | | | | | | please see the HISTORY file included in the Release, but a summary consists of: * Change encoding function signature to prevent misuse * Change "contrib/tsearch2" to avoid unsafe use of INTERNAL function results * Repair race condition between relation extension and VACUUM This could theoretically have caused loss of a page's worth of freshly-inserted data, although the scenario seems of very low probability. There are no known cases of it having caused more than an Assert failure. Security: http://www.postgresql.org/about/news.315 Notes: svn path=/head/; revision=135023
* Modify 8.0's startup script to simulate a full login (su -l) [1]. AlsoPalle Girgensohn2005-03-192-46/+54
| | | | | | | | | | | | | | | | add support to select login class for running postgresql [2]. The new startup script, using rc.subr, is now installed for all versions of postgresql. Bump portrevisions, since startup script is modified. PR: 78630 [1] Submitted by: Vivek Khera [1] Submitted by: Brian B. [2] Approved by: seanc (implicit) Notes: svn path=/head/; revision=131605
* Fixing problems with the recent security patch: When bison was notPalle Girgensohn2005-02-202-1/+89
| | | | | | | | | | | | | | | | | | | | installed, the patched gram.y file would not be used and the security patch would be a no-op. Also, I've had reports of compilation errors related to bison. Since checking for the correct version of bison is hard and error prone, I'm doing what the postgresql distribution does - patching the yacc:ed .c file to get rid of the building dependency. Bumping portrevision of -server. Pointy hat to: me Noticed by: Mike Harding and others Security: http://www.vuxml.org/freebsd/6b4b0b3f-8127-11d9-a9e7-0001020eed82.html Approved by: seanc (implicit) Notes: svn path=/head/; revision=129331
* Fix security alert using a patch from PostgreSQL's CVS repository:Palle Girgensohn2005-02-192-9/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent overrunning a heap-allocated buffer if more than 1024 parameters to a refcursor declaration are specified. This is a minimally-invasive fix for the buffer overrun. Define LATEST_LINK to avoid package name clashes between the different branches of PostgreSQL. [1] (Since postgresql-tcltk is hardwired to branch 7.4, keep its LATEST_LINK to a generic value.) Set UNIQUENAME and let it be the same for server & client, so each branch's ports will share the same options file. This adds some no-op knobs to the -client port, but IMO it is better this way. Add space inside paranthesis in OSVERSION conditional to work around (ancient) make bug. [2] Remove the Rendez-Vouz knob for 8.0 since I can't find the software needed to even compile it on FreeBSD. Bump portrevision (for -server only). Noted by: kris [1] PR: ports/77530 [2] Security: http://www.vuxml.org/freebsd/6b4b0b3f-8127-11d9-a9e7-0001020eed82.html Approved by: seanc (mentor) Notes: svn path=/head/; revision=129277
* Update JDBC support to version 8.0 (build 310).Palle Girgensohn2005-02-112-34/+0
| | | | | | | | | | The PostgreSQL JDBC project has been decoupled from the server distribution, and is now hosted at http://jdbc.postgresql.org/. Approved by: ade (mentor) Notes: svn path=/head/; revision=128497
* Let pkg-message reflect the renaming of the startup script.Palle Girgensohn2005-02-091-2/+2
| | | | | | | | Submitted by: Nick Pavlica <linicks at gmail dot com> Approved by: ade (mentor) Notes: svn path=/head/; revision=128395
* local/java/classes is part of mtree, so don't remove whenPalle Girgensohn2005-02-061-2/+0
| | | | | | | | | deinstalling. Approved by: ade (mentor) Notes: svn path=/head/; revision=128194
* In order to address a potential security hole recently identified withPalle Girgensohn2005-02-034-13/+18
| | | | | | | | | | | | | | | | | | | | | | the "LOAD" option, the PostgreSQL Global Development Group is announcing the release of new versions of PostgreSQL. Update to 7.3.9, 7.4.7 & 8.0.1. Take the opportunity to reset PORTREVISION of slave ports. Back out name change of startup script. The new script uses rc.subr(8), and as such also uses rcorder(8). But, rcorder does not exist in FreeBSD 4.x. Hence rename the script it back to the top of the directory list. [1] The periodic script should of course be executable. [2] [1] Noted by Niels Chr. Bank-Pedersen <ncbp at bank-pedersen dot dk> [2] Noted by Fritz Heinrichmeyer <fritz.heinrichmeyer at fernuni-hagen dot de> Notes: svn path=/head/; revision=127966
* Split the postgresql ports into a server and a client part. ThePalle Girgensohn2005-01-3113-405/+446
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | following knobs can be used by ports depending on PostgreSQL: # USE_PGSQL - Add PostgreSQL client dependency. # If no version is given (by the maintainer via the port or # by the user via defined variable), try to find the # currently installed version. Fall back to default if # necessary (PostgreSQL-7.4 = 74). # DEFAULT_PGSQL_VER # - PostgreSQL default version. Can be overridden within a port. # Default: 74. # WANT_PGSQL_VER # - Maintainer can set an arbitrary version of PostgreSQL by # using it. # BROKEN_WITH_PGSQL # - This variable can be defined if the ports doesn't support # one or more versions of PostgreSQL. Note that a periodic script is installed that will, by default, vacuum all databases nightly. You may want to tweak the settings, see the script at ${LOCALBASE}/etc/periodic/daily/502.pgsql To run PostgreSQL at boot time, set postgresql_enable=yes in /etc/rc.conf. Note PR: 75344 Approved by: portmgr@ (kris), ade & sean (mentors) Notes: svn path=/head/; revision=127734
* PR ports/75344 - This needs testing and an probably experimentalPalle Girgensohn2004-12-211-1/+1
| | | | | | | | | | build, so it will not be out the door before the ports freeze. Meanwhile, modify BROKEN text to something more informative. Approved by: ade (mentor) Notes: svn path=/head/; revision=124724
* Add myself as committer, and use my @FreeBSD.org address.Palle Girgensohn2004-12-061-1/+1
| | | | | | | Approved by: ade (mentor) Notes: svn path=/head/; revision=123277
* Another step along the road to the postgresql new world order.Ade Lovett2004-11-2326-847/+1142
| | | | | | | | | | | | Note that none of these ports are (yet) hooked into the tree, and will not compile unless you set a specific environmental variable. This should be warning enough to leave well alone for now :) Submitted by: maintainer Notes: svn path=/head/; revision=122238
* Update postgresql 7.3.7 -> 7.3.8 and 7.4.5 -> 7.4.6 due to securityAde Lovett2004-11-052-9/+9
| | | | | | | | | | | | advisories in http://www.postgresql.org/news/234.html Note that postgresql 7.2.x is NOT being updated here since it is due for termination real soon now. Submitted by: maintainer, also referenced in ports/73142 (no patch) Notes: svn path=/head/; revision=120905
* - update to version 7.4.5:Oliver Eikemeier2004-08-314-14/+13
| | | | | | | | | | | | * Prevent possible loss of committed transactions during crash * Repair possible crash during concurrent btree index insertions PR: 71176 Submitted by: SUGIMURA Takashi <sugimura@jp.FreeBSD.org> Reviewed by: Palle Girgensohn <girgen@pingpong.net> (maintainer) Notes: svn path=/head/; revision=117737
* Upgrade to 7.4.3.Vanilla I. Shu2004-06-284-15/+28
| | | | | | | | PR: ports/68456 Submitted by: maintainer Notes: svn path=/head/; revision=112502
* Add a note about changes in latest release of PostgreSQL.Sergey A. Osokin2004-03-301-0/+5
| | | | | | | | Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) PR: 64933 Notes: svn path=/head/; revision=105689
* Update to latest release 7.4.2.Sergey A. Osokin2004-03-113-6/+11
| | | | | | | | | | | | | | | | Release notes available at http://www.postgresql.org/news/173.html NOTICE: unlike most minor versions, this version does require some updates to the pg_* system tables. Full instructions for how to do this are included in the full HISTORY file. DO NOT UPGRADE WITHOUT READING THESE INSTRUCTIONS. SIZEfy. Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) PR: 64105 Notes: svn path=/head/; revision=103654
* Add WITHOUT_NLS knob. Move USE_GETTEXT to proper place.Trevor Johnson2004-02-051-3/+3
| | | | | | | | | PR: 61836 Submitted by: Palle Girgensohn (maintainer) Pointy hat to: me Notes: svn path=/head/; revision=100045
* Add USE_GETTEXT and bump PORTREVISION.Joe Marcus Clarke2004-02-041-2/+2
| | | | | | | | Submitted by: trevor Tested by: bento Notes: svn path=/head/; revision=99914
* - Add note that the function "elog" has been removed fromKirill Ponomarev2004-02-011-3/+9
| | | | | | | | | | pg-7.4 PR: ports/62167 Submitted by: maintainer Notes: svn path=/head/; revision=99702
* Now gettext 0.12.1 is gettext-old.Trevor Johnson2004-01-231-1/+1
| | | | Notes: svn path=/head/; revision=98909
* Update the PostgreSQL ports to use the KRB5_HOME variable instead ofSean Chittenden2004-01-181-1/+1
| | | | | | | | | | LOCALBASE to find krb5-config in the MIT case. Prodded by: Our friendly folks at the ISC who want to use FreeBSD's PostgreSQL ports instead of an unmanaged build from a tarball. Notes: svn path=/head/; revision=98447
* Maintainer update to PostgreSQL 7.4.1. This release includes fixed identSean Chittenden2003-12-255-15/+33
| | | | | | | | | | | | | | authentication support for FreeBSD (been broken since 7.4). Merry Christmas to all, and to all a good night. Release notes: http://developer.postgresql.org/docs/postgres/release.html#RELEASE-7-4-1 Prompted by PR: ports/60542 Obtained from: maintainer Notes: svn path=/head/; revision=96563
* Remove the PORTNAME from postgreql-client. PORTNAME is set bySean Chittenden2003-12-052-4/+28
| | | | | | | | | | | | | MASTERDIR/Makefile[1]. Improve the CONFLICTS messages[2]. Fix the DEPENDS so that MIT krb5 depends on security/krb5, not heimdal[3]. Add a file that was missing in the upgrade that has PostgreSQL log to syslog by default[4]. PR: [4] Originally submitted in ports/59402 Submitted by: [1,2,4] maintainer [3] keoki seu <keoki@camelot.physics.wm.edu> Notes: svn path=/head/; revision=95163
* Make PORTNAME ovverrideable by slave ports again.Erwin Lansing2003-12-041-1/+1
| | | | | | | This fixes INDEX build Notes: svn path=/head/; revision=95013
* Introduce the world to PostgreSQL 7.4! By and large this release isSean Chittenden2003-12-046-59/+138
| | | | | | | | | | | | | | | | | | regarded as a major release with features with interest to those with large databases. The updates are extensive and the best source of info is in the release notes. Enjoy and direct questions to database@! Release notes: http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4 PR: ports/59403, ports/59404, ports/59393, ports/59394, ports/59395, ports/59397, ports/59398, ports/59402, && ports/59401 Submitted by: maintainer Approved by: marcus (portmgr@ hat) Notes: svn path=/head/; revision=94977
* Set pkg-comment only when there isn't one set yet (make portEdwin Groothuis2003-10-131-1/+1
| | | | | | | master/slave clean) Notes: svn path=/head/; revision=91009
* Bump the PORTREVISION for the ports directly affected by the gettext upgrade.Joe Marcus Clarke2003-08-261-0/+1
| | | | | | | Prodded by: kris Notes: svn path=/head/; revision=87743
* Chase the libintl.so shared lib version.Joe Marcus Clarke2003-08-251-1/+1
| | | | Notes: svn path=/head/; revision=87644
* Fix my fault in previous commit: put a pkg-messageSergey A. Osokin2003-08-121-0/+0
| | | | | | | | | into right place. Notify from: Palle Girgensohn <girgen@pingpong.net> Notes: svn path=/head/; revision=86812
* Update to 7.3.4Sergey A. Osokin2003-08-125-63/+30
| | | | | | | | | | | | | | "In order to address a potentially serious (although rare) server startup failure that was recently reported, we have released PostgreSQL version 7.3.4. This release is critical for users of PostgreSQL version 7.3.3, and highly recommended for all other PostgreSQL users." Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) PR: 55354 Notes: svn path=/head/; revision=86803
* get rid of libgnugetopt dependency for -CURRENT,FUJISHIMA Satsuki2003-07-141-2/+2
| | | | | | | use USE_GETOPT_LONG instead. Notes: svn path=/head/; revision=84842
* postgresql slave ports, reduce unnecessary portrevision bumpsDaichi GOTO2003-06-191-0/+1
| | | | | | | | PR: 52867 Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) Notes: svn path=/head/; revision=83302
* The control script that ships with the postgresSergey A. Osokin2003-06-111-1/+1
| | | | | | | | | | | | | | port (files/pgsql.sh.tmpl) lacks a parameter in the restart option, causing logs to be send to stdout, instead of the log file. Submitted by: Fernando Schapachnik <fernando@mecon.gov.ar> Approved by: maintainer PR: 53142 Approved by: fjoe (implicit) Notes: svn path=/head/; revision=82824
* Use ${MASTER_SITE_PGSQL} instead of multiple sitesSergey A. Osokin2003-06-111-14/+1
| | | | | | | | | | Submitted by: osa Approved by: maintainer PR: 50397 Approved by: fjoe (implicit) Notes: svn path=/head/; revision=82772
* Remove a patch file which is no need for 7.3.3.Norikatsu Shigemura2003-06-021-38/+0
| | | | | | | Submitted by: Mike Harding <mvh@ix.netcom.com> Notes: svn path=/head/; revision=81965
* Update to 7.3.3.Norikatsu Shigemura2003-06-023-42/+18
| | | | | | | | | | | | | | | | 1. Optionally link with libc_r to get plpython working. [1] 2. Fix kerberos build. [2] 3. There was a duplication of some declarations. [3] PR: ports/52851 PR: ports/51080 [2] Submitted by: Mike Meyer <mwm@mired.org> [1] Submitted by: Gerweck <andy@tacnode.com> [2] Pointed out by: Mike Harding <mvh@ix.netcom.com> [3] Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer) Notes: svn path=/head/; revision=81964
* Add patch for a fix for braindead applications that were depending onSean Chittenden2003-02-203-1/+31
| | | | | | | | | | | atoi('') (ex: RT and Horde). While I'm here, de-"pkg-comment"-ify. Port revision bump. Submitted by: Larry Rosenman <ler@lerctr.org> Approved by: maintainer Notes: svn path=/head/; revision=75919
* Add a patch fix a long standing bug in PostgreSQL with LISTEN/NOTIFYSean Chittenden2003-02-191-0/+38
| | | | | | | | | | queues and shutting down the database. Not bumping port revision, but if you are having problems related to the above, update as necessary. Submitted by: Larry Rosenman <ler@lerctr.org> Notes: svn path=/head/; revision=75907
* Update PostgreSQL to the maintenance release 7.3.2.Sean Chittenden2003-02-064-86/+77
| | | | | | | | | | | | | | | | | | Fixes numerous bugs especially with various interface libraries and pg_dump. All users are advised to upgrade. This update fixes all known problems with the postgresql7 port. See release notes for details: http://developer.postgresql.org/docs/postgres/release-7-3-2.html A dump/restore is *not* required when upgrading to this version. PR: ports/47983 [1], ports/47284 [2], ports/47808 [3] Submitted by: maintainer [1] Jason C. Wells [2] Michel Oosterhof <m.oosterhof@xs4all.nl> [3] Notes: svn path=/head/; revision=74993
* Add new man pages.Jimmy Olgeni2003-01-141-18/+22
| | | | | | | | PR: 47054 Submitted by: Palle Girgensohn <girgen@rambutan.pingpong.net> Notes: svn path=/head/; revision=73138
* Fix DISTFILES typo in databases/postgresql7/MakefileEdwin Groothuis2003-01-041-1/+1
| | | | | | | | PR: ports/46749, ports/46748 Submitted by: "Sergey A.Osokin" <osa@FreeBSD.org.ru>,Rong-en Fan <rafan@infor.org> Notes: svn path=/head/; revision=72498
* Download the PostgreSQL documentation and MD5 for the test bundle. TheseSean Chittenden2003-01-042-1/+3
| | | | | | | | | should ideally be downloaded as needed to save bandwidth. Submitted by: Eric Hodel Notes: svn path=/head/; revision=72490
* Update PostgreSQL to 7.3.1[1]. Fixes builds for spac64. Many speed,Sean Chittenden2003-01-0413-430/+597
| | | | | | | | | | | | | | | | security, and feature additions. Reduce diffs between postgresql-devel port. Re-initdb required when upgrading from previous release. See release notes for details. Schemas added are system catalogs updated. ::braces for impact:: http://developer.postgresql.org/docs/postgres/release.html#RELEASE-7-3-1 PR: ports/46701 Submitted by: girgen@pingpong.net Notes: svn path=/head/; revision=72481
* Port update submitted by maintainerNick Sayer2002-11-061-1/+3
| | | | | | | | PR: ports/44983 Submitted by: girgen@pingpong.net Notes: svn path=/head/; revision=69555
* Update to 7.2.3 and maintainer's email address. All advised to updatePatrick Li2002-10-063-14/+8
| | | | | | | | | | to this version as soon as possible. Check PR description. PR: ports/43676 Submitted by: maintainer Notes: svn path=/head/; revision=67467
* Remove a dead .jp mirror and add the official .jp mirror instead.Akinori MUSHA2002-09-131-1/+1
| | | | | | | Submitted by: fenner's distfiles survey Notes: svn path=/head/; revision=66250
* Update to 7.2.2, which fixes several security bugs. Do not installTrevor Johnson2002-08-265-588/+24
| | | | | | | | | | documentation--it will be in a separate port. PR: 42009 Submitted by: Palle Girgensohn (maintainer) Notes: svn path=/head/; revision=65022