Commit Graph

112 Commits

Author SHA1 Message Date
ajacoutot
0691c69586 Use RCDIR instead of /etc/rc.d when refering to packages rc scripts.
discussed with espie and sthen
ok sthen@
2012-04-22 11:41:55 +00:00
sthen
e1add271e0 Add steps to copy SSL certs and a reminder about UTF8 to postgresql-server's
upgrade notes.  ok pea@
2012-04-12 11:47:05 +00:00
pea
af6fa238bd Update to 9.1.3
ok ajacoutot@
2012-03-05 15:00:57 +00:00
sthen
3039a9230c - show an example command line for initializing the database with UTF8,
it's mentioned in text but this makes it clearer (and it's a pain to switch
it afterwards :)

- s/task/tasks

ok pea@
2012-01-24 09:20:17 +00:00
pea
a8ca6dfb36 Update to 9.1.2
Two important things:

+ Fix bugs in information_schema.referential_constraints view
If you need to fix this in an existing installation, you
can (as a superuser) drop the information_schema schema then re-create it
by sourcing /usr/local/share/postgresql/information_schema.sql.
This must be repeated in each database to be fixed.

+ Make contrib/citext's upgrade script fix collations of
citext columns and indexes.
If you have a previously-upgraded database that is suffering
from this problem, and you already ran the CREATE EXTENSION command,
you can manually run (as superuser) the UPDATE commands found
at the end of /usr/local/share/postgresql/extension/citext--unpackaged--1.0.sql.


ok jeremy@
2011-12-07 08:32:18 +00:00
sthen
b0603ce284 tweak the pgsql major upgrade upgrade notes;
- use /etc/rc.d to stop and start the daemon.
- use sudo rather than keep jumping between root/_postgresql users.
- use pkg_add -ui rather than just -u (allow it to ask if you've backed
up, rather than just terminating).

ok pea@
2011-10-18 12:03:01 +00:00
pea
f07982b4fe Bugfix update
ok ajacoutot@
2011-09-26 11:58:28 +00:00
pea
ed27f8a671 Major upgrade to PostgreSQL 9.1.0
A dump/restore is required.

Tested in a bulk by jasper@, thanks !

ok jasper@, jeremy@
2011-09-23 09:46:14 +00:00
sthen
cc75bfc0c4 - only suggest cap_mkdb if login.conf.db exists, ok aja@ landry pea@
- show people how to setup ssl and tweak headings, ok pea@
2011-06-06 08:43:59 +00:00
ajacoutot
f982995f2b Add a consistent header that substitutes FULLPKGNAME for the READMEs.
ok jasper@ sthen@
2011-06-02 13:41:36 +00:00
pea
0722051832 Update to 9.0.4.
Changelog: http://www.postgresql.org/docs/9.0/static/release-9-0-4.html

ok ajacoutot@, jasper@
2011-04-19 08:39:21 +00:00
pea
f475a8102b Add an explanation about cluster's encoding.
Spotted by ajacoutot@

ok ajacoutot@
2011-04-07 14:45:25 +00:00
ajacoutot
1ffbcaa750 Remove all redirections -- rc.subr(8) now takes care of it. 2011-03-17 16:49:27 +00:00
ajacoutot
564c909458 Remove now uneeded redirection. 2011-03-09 18:51:48 +00:00
pea
fa243c7d12 Add a small upgrade howto.
idea from sthen@
ok sthen@, landry@
looks good espie@
2011-02-09 10:53:12 +00:00
pea
6c67d07d32 Update to 9.0.3.
+ CVE fix (CVE-2010-4015)
+ fix nasty behavior:
  - Before exiting walreceiver, ensure all the received WAL is fsync'd to disk.
    Otherwise the standby server could replay some un-synced WAL, conceivably leading
    to data corruption if the system crashes just at that point.
  - Make ALTER TABLE revalidate uniqueness and exclusion constraints when needed

Tested in a bulk by landry@

ok ajacoutot@, landry@, sthen@
2011-02-02 14:10:45 +00:00
ajacoutot
ae70c849c2 Make use of rcexec.
While here, force postgresql to quit in rc_stop, ok pea@
2011-01-05 16:05:54 +00:00
ajacoutot
e133cd7a34 Cope with recent class handling in rc.subr. 2011-01-04 16:03:00 +00:00
ajacoutot
4ec44530ca Simplify after recent rc.subr change.
The framework is now stable and we will start documenting it (at last).
2010-12-27 14:50:22 +00:00
ajacoutot
b28452a489 Cope with recent rc.subr changes. 2010-12-24 10:40:04 +00:00
pea
f0bf60f4e0 Bugfixes update to 9.0.2
Changelog: http://www.postgresql.org/docs/9.0/static/release-9-0-2.html

ok ajacoutot@
2010-12-17 10:27:18 +00:00
ajacoutot
a790ad3f29 Fix variable names in rc script. Breakage spotted by pea@
While here, deal with the pidfile in pre, not post.

ok pea@ (maintainer)
2010-12-15 11:32:26 +00:00
ajacoutot
a973364d79 Move to using daemon_user.
ok pea@ (maintainer)
2010-12-13 16:14:38 +00:00
landry
71d721d201 pkg-readme filename comes from ${FULLPKGNAME}, fixes packaging. 2010-11-09 09:07:28 +00:00
ajacoutot
6ec76fdbc6 Add missing RCS id. 2010-11-08 14:57:56 +00:00
pea
bea13cc2c7 * MAJOR UPGRADE *
+ upgrade to 9.0.1
+ move readme to new location
+ add a rc script

A dump / restore is needed for this upgrade.
See http://openbsd.raveland.org/ports/postgresql/UPGRADE_HOWTO.txt
if you need help for this.

ok jasper@, eric@
2010-11-08 14:12:24 +00:00
pea
b8ddf1b93b Update to 8.4.5
Changelog here: http://www.postgresql.org/docs/8.4/static/release-8-4-5.html

ok jasper@

note: i will update it to 9.0.1 in a few days
2010-10-08 06:50:23 +00:00
jasper
c38e147ab2 - SECURITY update of postgresql to 8.4.4
fixes CVE-2010-1169 CVE-2010-1447 and CVE-2010-1170.

ok pea@ (MAINTAINER)
2010-05-18 12:01:23 +00:00
pea
af71728075 Update to 8.4.3
Please note that pg_standby is now in the -contrib package

ok jasper@, sthen@
2010-03-23 10:24:45 +00:00
pea
500570cb81 Update to 8.4.2
Please note:
if you have any hash indexes, you should REINDEX them after updating to 8.4.2,
to repair possible damage.

Changelog:
http://www.postgresql.org/docs/current/static/release-8-4-2.html

ok sthen@
2009-12-16 14:34:58 +00:00
pea
41f7f6f53e Update to 8.4.1.
Changelog: http://www.postgresql.org/docs/8.4/static/release-8-4-1.html
Security fixes: http://www.postgresql.org/support/security

"fine by me" mbalmer@, ok sthen@
2009-09-14 20:22:27 +00:00
pea
78bfd95a99 Upgrade PostgreSQL to the latest version 8.4.0.
Initial diff (for rc and beta) from simon@

ok mbalmer@, simon@
commitski jasper@

BE CAREFULL: it's a major upgrade !
You MUST dump/restore all your data for this upgrade.
2009-07-21 19:43:45 +00:00
pea
aa6ab40b2f Update to 8.3.7
See http://www.postgresql.org/docs/8.3/static/release-8-3-7.html

ok mbalmer@
2009-03-18 14:34:10 +00:00
pea
53e9a2408d Upgrade to 8.3.6.
See http://www.postgresql.org/docs/8.3/static/release-8-3-6.html

ok mbalmer@ ajacoutot@
2009-02-07 16:56:31 +00:00
pea
76e693807e Upgrade to PostgreSQL 8.3.5: bug fix release.
OK mbalmer@, ajacoutot@
2008-11-04 12:56:50 +00:00
brad
3710ae3fbb Upgrade to PostgreSQL 8.3.4; bug fix release.
ok mbalmer@
2008-10-09 06:05:39 +00:00
brad
e82a2ea57d Upgrade to PostgreSQL 8.3.3; bug fix release.
ok mbalmer@
2008-07-18 06:57:30 +00:00
simon
764a999f9a Major update to version 8.3.1 - be sure to dump your databases before
you apply this and restore afterwards!

Additionally, implicit typecasts are history and not supported anymore.
Versions prior to 8.3 had the feature (some say bug) that functions,
expecting an argument to be of a certain type, have casted a variable of
any other type to the expected type, if possible.
This has changed now.  Tests surfaced rare occurrences of regressions,
which were then fixed in about ten minutes - and that code was not even
in the ports tree;  no issues found there.

A few more things have changed, namely tsearch2 went from contrib to the
core and native uuid type support was added;  for details read the
release announcement at
http://www.postgresql.org/docs/8.3/static/release-8-3.html.

tests & ok mbalmer@ (maintainer)
2008-03-24 17:26:12 +00:00
mbalmer
9287e2bc1f Cumulative security update to PostgreSQL 8.2.6 that fixes five security
vulnerabilities.

See http://www.postgresql.org/about/news.905 for details.
2008-01-07 16:34:52 +00:00
mbalmer
8582b7c834 Update PostgreSQL to version 8.2.5.
Release date: 2007-09-17
This release contains a variety of fixes from 8.2.4.

A dump/restore is not required for those running 8.2.X.

See http://www.postgresql.org/docs/8.2/static/release-8-2-5.html for a list
of all changes.
2007-09-20 19:20:48 +00:00
jasper
32a30e5331 -NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
+SHARED_ONLY=	Yes

ok ajacoutot@, simon@, mbalmer@ (for the postgresql bits)
2007-07-04 19:18:45 +00:00
mbalmer
4c03b5ccd9 Fix a typo. 2007-04-28 08:26:34 +00:00
mbalmer
391ab2f140 Security update to PostgreSQL 8.2.4.
This fixes several bugs and one vulnerability (CVE-2007-2138).
2007-04-23 15:25:17 +00:00
simon
738f344933 add the postgresql contributions from the contrib/ directory
as a subpackage, bump as required.

ok mbalmer@, go ahead robert@, kili@
2007-03-22 19:29:17 +00:00
mbalmer
987e110832 Move some manpages that sneaked into the -docs subpackage to the -main
subpackage.  spotted by nikolay.
2007-02-10 08:01:35 +00:00
mbalmer
70b3cc9acd The PostgreSQL 8.2.2 security update introduced a bug that has been fixed
by the PostgreSQL team in 8.2.3.
2007-02-07 15:29:25 +00:00
mbalmer
422a973b91 Security update to PostgreSQL 8.2.2.
This update fixes the following problems:

CVE-2007-0555 and CVE-2007-0556.  Both of these issues
allow an authenticated attacker with the permissions to run arbitrary SQL to
launch a denial-of-service attack or possibly read out random chunks of
memory.  Since attacks to require authenticated access, the security hole is
only considered medium risk.  You can read more about the issues on Mitre:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0555
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0556
2007-02-06 06:57:27 +00:00
mbalmer
1f0785bc5c Update to PostgreSQL 8.2.1
Please note that a database dump/restore is required to upgrade to this
version.  See the full details at the following URL:
http://www.postgresql.org/docs/current/static/release-8-2.html

requested, tested and ok by robert, simon
2007-01-17 16:47:25 +00:00
mbalmer
b15285645c Maintenance update to PostreSQL 8.1.6, bugfixes and changes in DST rules
for canade.  No API changes.
2007-01-13 16:39:45 +00:00
kili
7f006bdda1 new MULTI_PACKAGES 2006-11-23 21:21:54 +00:00