Commit graph

43 commits

Author SHA1 Message Date
Palle Girgensohn
85e4e49806 Update all PostgreSQL to fix a security flaw
The PostgreSQL Global Development Group today released versions 8.1.4, 8.0.8,
7.4.13 and 7.3.15. This is an urgent update to close a security hole which
can permit a SQL injection attack on some applications running PostgreSQL.

Users are urged to apply the update as soon as reasonably possible. Since the
update affects client functionality, most driver projects will be updating
this week as well.

Because the security issue involved is complex, we have added a section in
Techdocs to explain it: http://www.postgresql.org/docs/techdocs.52. Please
read this first before applying the updates.

Also, fix rc_subr startup problems on FreeBSD-7.x.

Security:	http://www.postgresql.org/docs/techdocs.50
PR:		ports/95154
2006-05-23 21:18:58 +00:00
Palle Girgensohn
ab5d98d05b Security patch, update to version 7.4.12.
Security:	http://www.postgresql.org/docs/8.1/static/release-7-4-12.html
2006-02-18 15:45:58 +00:00
Edwin Groothuis
f2ab1844f2 Add missing ) around SIZE statements. 2006-01-30 09:38:49 +00:00
Palle Girgensohn
1d992c44d7 Update postgresql with latest patch release.
A critical fix repairs an error in ReadBuffer that can cause data loss
due to overwriting recently-added pages.  This applies to the 8.1 and
8.0 branches on all platforms.

Note that this update might require a reindex of textual columns under
certain conditions; please see UPDATING.

Other fixes included are:
-- Character string locale comparison bug. This may require a REINDEX
    on text column indexes in some locales, such as Hungarian.
-- Prevent accidental changes of locale by plperl
-- Two fixes for Japanese encodings
-- Two fixes for COPY CSV
-- Fixes for functions returning RECORD
-- Fixes to autovacuum, dblink and pgcrypto
2006-01-09 17:30:38 +00:00
Palle Girgensohn
f80a057cf9 Update postgresql to 7.4.10
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
PR:		90445
2005-12-22 20:16:32 +00:00
Palle Girgensohn
4e88bfe962 Upgrade to version 7.4.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
2005-10-05 00:06:05 +00:00
Palle Girgensohn
30f96e3f96 Update PostgreSQL to latest versions. For details on the fixes,
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
2005-05-10 23:42:54 +00:00
Palle Girgensohn
88413af3b8 In order to address a potential security hole recently identified with
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>
2005-02-03 09:30:27 +00:00
Ade Lovett
6fde77975b Update postgresql 7.3.7 -> 7.3.8 and 7.4.5 -> 7.4.6 due to security
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)
2004-11-05 19:23:27 +00:00
Oliver Eikemeier
bdfa85f755 - update to version 7.4.5:
* 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)
2004-08-31 13:46:52 +00:00
Vanilla I. Shu
10b5ded080 Upgrade to 7.4.3.
PR:		ports/68456
Submitted by:	maintainer
2004-06-28 21:48:56 +00:00
Sergey A. Osokin
88154be9c2 Update to latest release 7.4.2.
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
2004-03-11 14:45:42 +00:00
Sean Chittenden
b919b91069 Maintainer update to PostgreSQL 7.4.1. This release includes fixed ident
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
2003-12-25 10:55:39 +00:00
Sean Chittenden
8a928af72d Introduce the world to PostgreSQL 7.4! By and large this release is
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)
2003-12-04 12:00:49 +00:00
Sergey A. Osokin
661fe60c66 Update to 7.3.4
"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
2003-08-12 09:58:13 +00:00
Norikatsu Shigemura
21b5e839a3 Update to 7.3.3.
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)
2003-06-02 01:44:03 +00:00
Sean Chittenden
4153e1deae Update PostgreSQL to the maintenance release 7.3.2.
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]
2003-02-06 20:46:51 +00:00
Sean Chittenden
d4d9e7f42f Download the PostgreSQL documentation and MD5 for the test bundle. These
should ideally be downloaded as needed to save bandwidth.

Submitted by:	Eric Hodel
2003-01-04 08:47:23 +00:00
Sean Chittenden
62e1bb4432 Update PostgreSQL to 7.3.1[1]. Fixes builds for spac64. Many speed,
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
2003-01-04 01:10:15 +00:00
Patrick Li
e62206d1a3 Update to 7.2.3 and maintainer's email address. All advised to update
to this version as soon as possible. Check PR description.

PR:		ports/43676
Submitted by:	maintainer
2002-10-06 07:42:36 +00:00
Trevor Johnson
c80f4eaad8 Update to 7.2.2, which fixes several security bugs. Do not install
documentation--it will be in a separate port.

PR:			42009
Submitted by:		Palle Girgensohn (maintainer)
2002-08-26 08:12:40 +00:00
Ying-Chieh Liao
b345761190 upgrade to 7.2.1
PR:		36975
Submitted by:	maintainer
2002-04-11 04:58:11 +00:00
Vanilla I. Shu
0c0bcdc10b Upgrade to 7.2, and spilit into several ports.
PR:		ports/34855
Submitted by:	maintainer.
2002-02-19 08:23:22 +00:00
Clive Lin
5c871f4845 Update the PostgreSQL port to 7.1.3.
A note about how to install languages into a PostgreSQL database is added.

PR: ports/29916
Submitted by: Palle Girgensohn <girgen@partitur.se> (MAINTAINER)
              Michal Pasternak <doc@lublin.t1.pl> (the note)
2001-08-21 04:31:39 +00:00
Ying-Chieh Liao
bcb99491a7 upgrade to 7.1.2
PR:		27676
Submitted by:	maintainer
2001-05-27 12:10:49 +00:00
Vanilla I. Shu
dc12b45807 Upgrade to 7.1.1
PR:		ports/27220
Submitted by:	maintainer
2001-05-09 06:00:37 +00:00
Vanilla I. Shu
bfb9f8e6c9 Upgrade to 7.1, change to new layout style.
PR:				ports/26741
Submitted by:	maintainer
2001-04-21 11:34:34 +00:00
Steve Price
a348e709cc Update to version 7.0.3.
PR:		23371
Submitted by:	maintainer
2000-12-11 03:22:07 +00:00
Akinori MUSHA
7145c7d0d1 Update to 7.0.2.
Fix NOPORTDOCS support.

Fix PLIST in many respects, especially for pgacess.
2000-06-20 05:08:07 +00:00
Andreas Klemm
af0564d809 upgrade postgresql to v 7.0 release
thanks for complete diffs ;-)
closed PR

PR:	18699
Obtained from:	Palle Girgensohn <girgen@partitur.se>
2000-05-24 14:11:19 +00:00
Andreas Klemm
358c2408d6 Update to postgresql 7 beta 5
closes PR

PR:		17736
2000-04-17 20:56:06 +00:00
Andreas Klemm
33820a8bca Long awaited upgrade to postgresql 6.5.3
Upgrade to pgaccess 0.98 follows

PR:		15708 15034
2000-01-03 06:45:51 +00:00
Chris Piazza
d72365ae81 Update to version 6.5.2.
and..

<quote>
This is a really small fix:
 - When compiling postgresql-jdbc, the compilation process presents a
bad path to the installed jar-file.
</quote>

PR:             13838
PR:		13865
Submitted by:   Palle Girgensohn <girgen@partitur.se>
1999-10-10 22:06:35 +00:00
Andreas Klemm
20d2521641 Update postgresql to 6.5.1
maintenance release with bugfixes
Thanks for the complete submission !

Submitted by:	Palle Girgensohn <girgen@partitur.se>
1999-07-21 07:16:27 +00:00
Andreas Klemm
78c0c17b37 upgrade to postgresql 6.5
did some small modifications

Obtained from:	"Palle Girgensohn" <girgen@partitur.se>
1999-06-29 20:21:49 +00:00
Andreas Klemm
587a7150b3 Update from 6.4 to 6.4.2
Reviewed by:	me
Submitted by:	David Kelly <dkelly@nebula.tbe.com>
1999-01-19 21:18:31 +00:00
Marc G. Fournier
cde9cfb4d2 Upgrade to PostgreSQL v6.4
From: Cyrus Rahman <cr@jcmax.com>
1998-11-22 21:33:20 +00:00
Andreas Klemm
36f89aec96 Upgrade postgresql to version 6.3.2
Many bugfixes and cosmetic changes
Changes by Scrappy and me
My additional changes:
- had to link libpgtcl.so with the crypt library to get rid of the
  pgaccess error message, that crypt is missing
- had to add -i option in the startup script, so that pgaccess is
  able to connect to the postmaster process
- removed all unnecessary patches
- updated PLIST
Thanks to the postgresql developement team, who did a great job to
simplify the postgresql port, by applying the patches and making
the autoconf mechanism more consistent.
Submitted by:	The Hermit Hacker <scrappy@hub.org>
1998-04-21 21:52:10 +00:00
Andreas Klemm
d8d6ed40b4 update to 6.2.1, possibly more committs to come (PLIST) 1997-10-30 14:34:25 +00:00
Andreas Klemm
8f5d33e0f1 Upgrade from version 6.1.1 to 6.2
Please note: when performing a migration to 6.2 and you have an existing db,
then you have to use the *new* pg_dumpall script that comes with this new
postgresql release. The INSTALL file points this out explicitely !!!

Changes:
- startup script resides in FILESDIR
- renamed it to be in sync with INSTALL file from sources
- always install this startup script over an existing, because
  of the nature of the rc.d directory I can't install it
  to pgsql.sh-dist, if a pgsql.sh is already presend ...
- portlint detected trailing whitespace, usage of perl with absolute
  path, usage of echo instead of ECHO and plenty things of this kind
- post installation notes updated, mentioned the mailing list
- copies the html pages as well to the share/doc directory (new manual dir)
- had to update PLIST
- shortened DESCR file, to match the 24 lines
- added post build target, that reminds the admin how to proceed when
  already having a database -> INSTALL file describes migration
- updated manpages
1997-10-03 14:13:36 +00:00
Andreas Klemm
addd670635 Upgrade from 6.1 to 6.1.1 1997-09-27 21:43:52 +00:00
Andreas Klemm
7849285de8 Update from 6.0 to 6.1
Enabled locale support, please tell me, if this ok or causes trouble.
Thanks.
1997-06-14 19:40:05 +00:00
Marc G. Fournier
3c5198c1f3 Update postgresql port from v1.09 to v6.0 using files from PostgreSQL
port, which is going to be removed
1997-04-10 19:15:12 +00:00