Changes 8.3.1: * Fix character string comparison for Windows locales that consider different character combinations as equal * Repair corner-case bugs in "VACUUM FULL" * Fix misbehavior of foreign key checks involving character or bit columns * Avoid needless deadlock failures in no-op foreign-key checks * Fix possible core dump when re-planning a prepared query * Fix possible failure when re-planning a query that calls an SPI-using function * Fix failure in row-wise comparisons involving columns of different datatypes * Fix longstanding "LISTEN"/"NOTIFY" race condition * Disallow "LISTEN" and "UNLISTEN" within a prepared transaction * Disallow dropping a temporary table within a prepared transaction * Fix rare crash when an error occurs during a query using a hash index * Fix incorrect comparison of tsquery values * Fix incorrect behavior of LIKE with non-ASCII characters in single-byte encodings * Disable xmlvalidatediff -r1.1.1.1 -r1.2 pkgsrc/databases/postgresql83/Makefile.common
(adam)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.1.1.1 2008/03/04 12:41:36 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.2 2008/04/05 16:39:26 adam Exp $ | |
2 | # | 2 | # | |
3 | # This Makefile fragment is included by all PostgreSQL packages built from | 3 | # This Makefile fragment is included by all PostgreSQL packages built from | |
4 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | 4 | # the main sources of the PostgreSQL distribution except jdbc-postgresql. | |
5 | # | 5 | # | |
6 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | 6 | # The PostgreSQL package naming scheme, aside from the obvious piecewise | |
7 | # packages, is as follows: | 7 | # packages, is as follows: | |
8 | # | 8 | # | |
9 | # <lang>-postgresql client-side interface to PostgreSQL | 9 | # <lang>-postgresql client-side interface to PostgreSQL | |
10 | # postgresql-<lang> server-side module for PostgreSQL backend | 10 | # postgresql-<lang> server-side module for PostgreSQL backend | |
11 | 11 | |||
12 | .include "../../databases/postgresql83/Makefile.mirrors" | 12 | .include "../../databases/postgresql83/Makefile.mirrors" | |
13 | 13 | |||
14 | DISTNAME?= postgresql-${DIST_VERS} | 14 | DISTNAME?= postgresql-${DIST_VERS} | |
@@ -27,27 +27,27 @@ CONFLICTS+= postgresql81-* | @@ -27,27 +27,27 @@ CONFLICTS+= postgresql81-* | |||
27 | CONFLICTS+= postgresql82-* | 27 | CONFLICTS+= postgresql82-* | |
28 | 28 | |||
29 | DISTINFO_FILE?= ${.CURDIR}/../postgresql83/distinfo | 29 | DISTINFO_FILE?= ${.CURDIR}/../postgresql83/distinfo | |
30 | COMMON_FILESDIR?= ${.CURDIR}/../postgresql83/files | 30 | COMMON_FILESDIR?= ${.CURDIR}/../postgresql83/files | |
31 | PATCHDIR?= ${.CURDIR}/../postgresql83/patches | 31 | PATCHDIR?= ${.CURDIR}/../postgresql83/patches | |
32 | 32 | |||
33 | # Version numbering scheme: | 33 | # Version numbering scheme: | |
34 | # | 34 | # | |
35 | # DIST_VERS version number on the postgresql distfile | 35 | # DIST_VERS version number on the postgresql distfile | |
36 | # BASE_VERS pkgsrc-mangled version number (convert pl -> .) | 36 | # BASE_VERS pkgsrc-mangled version number (convert pl -> .) | |
37 | # | 37 | # | |
38 | # Note: Do not forget jdbc-postgresql83 when updating version | 38 | # Note: Do not forget jdbc-postgresql83 when updating version | |
39 | # | 39 | # | |
40 | DIST_VERS?= 8.3.0 | 40 | DIST_VERS?= 8.3.1 | |
41 | BASE_VERS?= ${DIST_VERS} | 41 | BASE_VERS?= ${DIST_VERS} | |
42 | 42 | |||
43 | BUILDLINK_API_DEPENDS.postgresql83-client+= postgresql83-client>=${BASE_VERS} | 43 | BUILDLINK_API_DEPENDS.postgresql83-client+= postgresql83-client>=${BASE_VERS} | |
44 | 44 | |||
45 | GNU_CONFIGURE= yes | 45 | GNU_CONFIGURE= yes | |
46 | USE_TOOLS+= bison gmake lex msgfmt | 46 | USE_TOOLS+= bison gmake lex msgfmt | |
47 | PKG_SYSCONFSUBDIR= postgresql | 47 | PKG_SYSCONFSUBDIR= postgresql | |
48 | 48 | |||
49 | # in 7.4.x/8.0.x, this is done by autoconf stuff which has leading whitespace | 49 | # in 7.4.x/8.0.x, this is done by autoconf stuff which has leading whitespace | |
50 | USE_PKGLOCALEDIR= yes | 50 | USE_PKGLOCALEDIR= yes | |
51 | SUBST_CLASSES+= pglocale | 51 | SUBST_CLASSES+= pglocale | |
52 | SUBST_FILES.pglocale= configure config/programs.m4 | 52 | SUBST_FILES.pglocale= configure config/programs.m4 | |
53 | SUBST_STAGE.pglocale= pre-configure | 53 | SUBST_STAGE.pglocale= pre-configure |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2008/03/04 12:41:36 adam Exp $ | 1 | $NetBSD: distinfo,v 1.2 2008/04/05 16:39:27 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (postgresql-8.3.0.tar.bz2) = b221e9a82fdb10af1a2b527551a4e30b7ccb958d | 3 | SHA1 (postgresql-8.3.1.tar.bz2) = 7397e0d8fd3c420ee845d9ae4995ae347bfaea1d | |
4 | RMD160 (postgresql-8.3.0.tar.bz2) = 99f48d26d9b0fb0cfda0de7156ad6a9554017d9e | 4 | RMD160 (postgresql-8.3.1.tar.bz2) = 075efb67126f2b308d2a5fe4f9097fdbfbe94c89 | |
5 | Size (postgresql-8.3.0.tar.bz2) = 13923051 bytes | 5 | Size (postgresql-8.3.1.tar.bz2) = 13995572 bytes | |
6 | SHA1 (patch-aa) = a7112ce2e9fc28f638afcf2e196d3cdc0f4c254d | 6 | SHA1 (patch-aa) = a7112ce2e9fc28f638afcf2e196d3cdc0f4c254d | |
7 | SHA1 (patch-ab) = 205e4540767f91c6ce6d509bf71516989feef93d | 7 | SHA1 (patch-ab) = 8bc81e1f95cf8933a4da2e557539764054b51f5f | |
8 | SHA1 (patch-ac) = 8e3a7021fdd01810d4ebcbd20002b28164b22279 | 8 | SHA1 (patch-ac) = 8e3a7021fdd01810d4ebcbd20002b28164b22279 | |
9 | SHA1 (patch-ad) = 471ebd457a3e560766321eefdcd7df26b6e2d4b9 | 9 | SHA1 (patch-ad) = 5612e447bbb76e81f72d39ad0153b9f77d47f653 | |
10 | SHA1 (patch-ae) = 8b3e47320dfe05d94b769c9b079fd7ca6d26f5d6 | 10 | SHA1 (patch-ae) = 8b3e47320dfe05d94b769c9b079fd7ca6d26f5d6 | |
11 | SHA1 (patch-af) = fcb43276c1f3349f62acfc37ac0bd6ccaae96f29 | 11 | SHA1 (patch-af) = fcb43276c1f3349f62acfc37ac0bd6ccaae96f29 | |
12 | SHA1 (patch-ag) = 402d5d211af99efdfa35677299c97e91e14ed85d | 12 | SHA1 (patch-ag) = 402d5d211af99efdfa35677299c97e91e14ed85d | |
13 | SHA1 (patch-ah) = 3640573195f66a46c37d9fca2648d6be39f5593b | 13 | SHA1 (patch-ah) = 3640573195f66a46c37d9fca2648d6be39f5593b | |
14 | SHA1 (patch-ai) = a2364b8e1e8a3094e1c5bfb0cad2d0babe0a8841 | 14 | SHA1 (patch-ai) = a2364b8e1e8a3094e1c5bfb0cad2d0babe0a8841 | |
15 | SHA1 (patch-aj) = 8fa23bf8e3aebe86025d4d17bb484d30166f4bd5 | 15 | SHA1 (patch-aj) = 8fa23bf8e3aebe86025d4d17bb484d30166f4bd5 | |
16 | SHA1 (patch-an) = a1e7f421a101cf9ccddcaf3ce17aa1847cf76310 | 16 | SHA1 (patch-an) = a1e7f421a101cf9ccddcaf3ce17aa1847cf76310 |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2008/03/04 12:42:56 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2008/04/05 16:39:27 adam Exp $ | |
2 | ${PG_SUBPREFIX}bin/clusterdb | 2 | ${PG_SUBPREFIX}bin/clusterdb | |
3 | ${PG_SUBPREFIX}bin/createdb | 3 | ${PG_SUBPREFIX}bin/createdb | |
4 | ${PG_SUBPREFIX}bin/createlang | 4 | ${PG_SUBPREFIX}bin/createlang | |
5 | ${PG_SUBPREFIX}bin/createuser | 5 | ${PG_SUBPREFIX}bin/createuser | |
6 | ${PG_SUBPREFIX}bin/dropdb | 6 | ${PG_SUBPREFIX}bin/dropdb | |
7 | ${PG_SUBPREFIX}bin/droplang | 7 | ${PG_SUBPREFIX}bin/droplang | |
8 | ${PG_SUBPREFIX}bin/dropuser | 8 | ${PG_SUBPREFIX}bin/dropuser | |
9 | ${PG_SUBPREFIX}bin/ecpg | 9 | ${PG_SUBPREFIX}bin/ecpg | |
10 | ${PG_SUBPREFIX}bin/initdb | 10 | ${PG_SUBPREFIX}bin/initdb | |
11 | ${PG_SUBPREFIX}bin/ipcclean | 11 | ${PG_SUBPREFIX}bin/ipcclean | |
12 | ${PG_SUBPREFIX}bin/pg_config | 12 | ${PG_SUBPREFIX}bin/pg_config | |
13 | ${PG_SUBPREFIX}bin/pg_controldata | 13 | ${PG_SUBPREFIX}bin/pg_controldata | |
14 | ${PG_SUBPREFIX}bin/pg_ctl | 14 | ${PG_SUBPREFIX}bin/pg_ctl | |
@@ -1228,27 +1228,29 @@ ${PG_SUBPREFIX}share/doc/postgresql/html | @@ -1228,27 +1228,29 @@ ${PG_SUBPREFIX}share/doc/postgresql/html | |||
1228 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-4.html | 1228 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-4.html | |
1229 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-5.html | 1229 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-5.html | |
1230 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-6.html | 1230 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-6.html | |
1231 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-7.html | 1231 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-7.html | |
1232 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-8.html | 1232 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-8.html | |
1233 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-9.html | 1233 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-9.html | |
1234 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1.html | 1234 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1.html | |
1235 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-1.html | 1235 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-1.html | |
1236 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-2.html | 1236 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-2.html | |
1237 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-3.html | 1237 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-3.html | |
1238 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-4.html | 1238 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-4.html | |
1239 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-5.html | 1239 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-5.html | |
1240 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-6.html | 1240 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-6.html | |
1241 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-7.html | |||
1241 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2.html | 1242 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2.html | |
1243 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-1.html | |||
1242 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3.html | 1244 | ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3.html | |
1243 | ${PG_SUBPREFIX}share/doc/postgresql/html/release.html | 1245 | ${PG_SUBPREFIX}share/doc/postgresql/html/release.html | |
1244 | ${PG_SUBPREFIX}share/doc/postgresql/html/resources.html | 1246 | ${PG_SUBPREFIX}share/doc/postgresql/html/resources.html | |
1245 | ${PG_SUBPREFIX}share/doc/postgresql/html/role-attributes.html | 1247 | ${PG_SUBPREFIX}share/doc/postgresql/html/role-attributes.html | |
1246 | ${PG_SUBPREFIX}share/doc/postgresql/html/role-membership.html | 1248 | ${PG_SUBPREFIX}share/doc/postgresql/html/role-membership.html | |
1247 | ${PG_SUBPREFIX}share/doc/postgresql/html/routine-reindex.html | 1249 | ${PG_SUBPREFIX}share/doc/postgresql/html/routine-reindex.html | |
1248 | ${PG_SUBPREFIX}share/doc/postgresql/html/routine-vacuuming.html | 1250 | ${PG_SUBPREFIX}share/doc/postgresql/html/routine-vacuuming.html | |
1249 | ${PG_SUBPREFIX}share/doc/postgresql/html/row-estimation-examples.html | 1251 | ${PG_SUBPREFIX}share/doc/postgresql/html/row-estimation-examples.html | |
1250 | ${PG_SUBPREFIX}share/doc/postgresql/html/rowtypes.html | 1252 | ${PG_SUBPREFIX}share/doc/postgresql/html/rowtypes.html | |
1251 | ${PG_SUBPREFIX}share/doc/postgresql/html/rsync.html | 1253 | ${PG_SUBPREFIX}share/doc/postgresql/html/rsync.html | |
1252 | ${PG_SUBPREFIX}share/doc/postgresql/html/rule-system.html | 1254 | ${PG_SUBPREFIX}share/doc/postgresql/html/rule-system.html | |
1253 | ${PG_SUBPREFIX}share/doc/postgresql/html/rules-privileges.html | 1255 | ${PG_SUBPREFIX}share/doc/postgresql/html/rules-privileges.html | |
1254 | ${PG_SUBPREFIX}share/doc/postgresql/html/rules-status.html | 1256 | ${PG_SUBPREFIX}share/doc/postgresql/html/rules-status.html |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2008/03/04 12:43:46 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2008/04/05 16:39:27 adam Exp $ | |
2 | ${PG_SUBPREFIX}bin/postgres | 2 | ${PG_SUBPREFIX}bin/postgres | |
3 | ${PG_SUBPREFIX}bin/postmaster | 3 | ${PG_SUBPREFIX}bin/postmaster | |
4 | ${PG_SUBPREFIX}lib/postgresql/ascii_and_mic.la | 4 | ${PG_SUBPREFIX}lib/postgresql/ascii_and_mic.la | |
5 | ${PG_SUBPREFIX}lib/postgresql/cyrillic_and_mic.la | 5 | ${PG_SUBPREFIX}lib/postgresql/cyrillic_and_mic.la | |
6 | ${PG_SUBPREFIX}lib/postgresql/euc_cn_and_mic.la | 6 | ${PG_SUBPREFIX}lib/postgresql/euc_cn_and_mic.la | |
7 | ${PG_SUBPREFIX}lib/postgresql/euc_jis_2004_and_shift_jis_2004.la | 7 | ${PG_SUBPREFIX}lib/postgresql/euc_jis_2004_and_shift_jis_2004.la | |
8 | ${PG_SUBPREFIX}lib/postgresql/euc_jp_and_sjis.la | 8 | ${PG_SUBPREFIX}lib/postgresql/euc_jp_and_sjis.la | |
9 | ${PG_SUBPREFIX}lib/postgresql/euc_kr_and_mic.la | 9 | ${PG_SUBPREFIX}lib/postgresql/euc_kr_and_mic.la | |
10 | ${PG_SUBPREFIX}lib/postgresql/euc_tw_and_big5.la | 10 | ${PG_SUBPREFIX}lib/postgresql/euc_tw_and_big5.la | |
11 | ${PG_SUBPREFIX}lib/postgresql/latin2_and_win1250.la | 11 | ${PG_SUBPREFIX}lib/postgresql/latin2_and_win1250.la | |
12 | ${PG_SUBPREFIX}lib/postgresql/latin_and_mic.la | 12 | ${PG_SUBPREFIX}lib/postgresql/latin_and_mic.la | |
13 | ${PG_SUBPREFIX}lib/postgresql/libdict_snowball.la | 13 | ${PG_SUBPREFIX}lib/postgresql/libdict_snowball.la | |
14 | ${PG_SUBPREFIX}lib/postgresql/plpgsql.la | 14 | ${PG_SUBPREFIX}lib/postgresql/plpgsql.la | |
@@ -31,26 +31,27 @@ ${PG_SUBPREFIX}lib/postgresql/utf8_and_u | @@ -31,26 +31,27 @@ ${PG_SUBPREFIX}lib/postgresql/utf8_and_u | |||
31 | ${PG_SUBPREFIX}lib/postgresql/utf8_and_win.la | 31 | ${PG_SUBPREFIX}lib/postgresql/utf8_and_win.la | |
32 | ${PG_SUBPREFIX}share/examples/rc.d/pgsql | 32 | ${PG_SUBPREFIX}share/examples/rc.d/pgsql | |
33 | ${PG_SUBPREFIX}share/locale/af/LC_MESSAGES/postgres.mo | 33 | ${PG_SUBPREFIX}share/locale/af/LC_MESSAGES/postgres.mo | |
34 | ${PG_SUBPREFIX}share/locale/cs/LC_MESSAGES/postgres.mo | 34 | ${PG_SUBPREFIX}share/locale/cs/LC_MESSAGES/postgres.mo | |
35 | ${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/postgres.mo | 35 | ${PG_SUBPREFIX}share/locale/de/LC_MESSAGES/postgres.mo | |
36 | ${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/postgres.mo | 36 | ${PG_SUBPREFIX}share/locale/es/LC_MESSAGES/postgres.mo | |
37 | ${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/postgres.mo | 37 | ${PG_SUBPREFIX}share/locale/fr/LC_MESSAGES/postgres.mo | |
38 | ${PG_SUBPREFIX}share/locale/hr/LC_MESSAGES/postgres.mo | 38 | ${PG_SUBPREFIX}share/locale/hr/LC_MESSAGES/postgres.mo | |
39 | ${PG_SUBPREFIX}share/locale/hu/LC_MESSAGES/postgres.mo | 39 | ${PG_SUBPREFIX}share/locale/hu/LC_MESSAGES/postgres.mo | |
40 | ${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/postgres.mo | 40 | ${PG_SUBPREFIX}share/locale/it/LC_MESSAGES/postgres.mo | |
41 | ${PG_SUBPREFIX}share/locale/ko/LC_MESSAGES/postgres.mo | 41 | ${PG_SUBPREFIX}share/locale/ko/LC_MESSAGES/postgres.mo | |
42 | ${PG_SUBPREFIX}share/locale/nb/LC_MESSAGES/postgres.mo | 42 | ${PG_SUBPREFIX}share/locale/nb/LC_MESSAGES/postgres.mo | |
43 | ${PG_SUBPREFIX}share/locale/nl/LC_MESSAGES/postgres.mo | 43 | ${PG_SUBPREFIX}share/locale/nl/LC_MESSAGES/postgres.mo | |
44 | ${PG_SUBPREFIX}share/locale/pl/LC_MESSAGES/postgres.mo | |||
44 | ${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/postgres.mo | 45 | ${PG_SUBPREFIX}share/locale/pt_BR/LC_MESSAGES/postgres.mo | |
45 | ${PG_SUBPREFIX}share/locale/ro/LC_MESSAGES/postgres.mo | 46 | ${PG_SUBPREFIX}share/locale/ro/LC_MESSAGES/postgres.mo | |
46 | ${PG_SUBPREFIX}share/locale/ru/LC_MESSAGES/postgres.mo | 47 | ${PG_SUBPREFIX}share/locale/ru/LC_MESSAGES/postgres.mo | |
47 | ${PG_SUBPREFIX}share/locale/sk/LC_MESSAGES/postgres.mo | 48 | ${PG_SUBPREFIX}share/locale/sk/LC_MESSAGES/postgres.mo | |
48 | ${PG_SUBPREFIX}share/locale/sl/LC_MESSAGES/postgres.mo | 49 | ${PG_SUBPREFIX}share/locale/sl/LC_MESSAGES/postgres.mo | |
49 | ${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/postgres.mo | 50 | ${PG_SUBPREFIX}share/locale/sv/LC_MESSAGES/postgres.mo | |
50 | ${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/postgres.mo | 51 | ${PG_SUBPREFIX}share/locale/tr/LC_MESSAGES/postgres.mo | |
51 | ${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/postgres.mo | 52 | ${PG_SUBPREFIX}share/locale/zh_CN/LC_MESSAGES/postgres.mo | |
52 | ${PG_SUBPREFIX}share/locale/zh_TW/LC_MESSAGES/postgres.mo | 53 | ${PG_SUBPREFIX}share/locale/zh_TW/LC_MESSAGES/postgres.mo | |
53 | ${PG_SUBPREFIX}share/postgresql/conversion_create.sql | 54 | ${PG_SUBPREFIX}share/postgresql/conversion_create.sql | |
54 | ${PG_SUBPREFIX}share/postgresql/information_schema.sql | 55 | ${PG_SUBPREFIX}share/postgresql/information_schema.sql | |
55 | ${PG_SUBPREFIX}share/postgresql/pg_hba.conf.sample | 56 | ${PG_SUBPREFIX}share/postgresql/pg_hba.conf.sample | |
56 | ${PG_SUBPREFIX}share/postgresql/pg_ident.conf.sample | 57 | ${PG_SUBPREFIX}share/postgresql/pg_ident.conf.sample |
@@ -1,57 +1,57 @@ | @@ -1,57 +1,57 @@ | |||
1 | $NetBSD: patch-ab,v 1.1.1.1 2008/03/04 12:41:37 adam Exp $ | 1 | $NetBSD: patch-ab,v 1.2 2008/04/05 16:39:27 adam Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2008-02-01 05:16:29.000000000 +0100 | 3 | --- configure.orig 2008-03-14 04:23:21.000000000 +0100 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -1510,6 +1510,7 @@ case $host_os in | 5 | @@ -1510,6 +1510,7 @@ case $host_os in | |
6 | darwin*) template=darwin ;; | 6 | darwin*) template=darwin ;; | |
7 | dgux*) template=dgux ;; | 7 | dgux*) template=dgux ;; | |
8 | freebsd*) template=freebsd ;; | 8 | freebsd*) template=freebsd ;; | |
9 | + dragonfly*) template=dragonfly ;; | 9 | + dragonfly*) template=dragonfly ;; | |
10 | hpux*) template=hpux ;; | 10 | hpux*) template=hpux ;; | |
11 | irix*) template=irix ;; | 11 | irix*) template=irix ;; | |
12 | linux*|gnu*|k*bsd*-gnu) | 12 | linux*|gnu*|k*bsd*-gnu) | |
13 | @@ -5280,9 +5281,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6 | 13 | @@ -5334,9 +5335,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6 | |
14 | 14 | |||
15 | echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5 | 15 | echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5 | |
16 | echo $ECHO_N "checking for flags to link embedded Perl... $ECHO_C" >&6 | 16 | echo $ECHO_N "checking for flags to link embedded Perl... $ECHO_C" >&6 | |
17 | -pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts` | 17 | -pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts` | |
18 | -pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'` | 18 | -pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'` | |
19 | -perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"` | 19 | -perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"` | |
20 | +perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts` | 20 | +perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts` | |
21 | echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5 | 21 | echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5 | |
22 | echo "${ECHO_T}$perl_embed_ldflags" >&6 | 22 | echo "${ECHO_T}$perl_embed_ldflags" >&6 | |
23 | fi | 23 | fi | |
24 | @@ -24190,16 +24189,12 @@ cat >>conftest.$ac_ext <<_ACEOF | 24 | @@ -24263,16 +24262,12 @@ cat >>conftest.$ac_ext <<_ACEOF | |
25 | /* end confdefs.h. */ | 25 | /* end confdefs.h. */ | |
26 | 26 | |||
27 | /* Override any gcc2 internal prototype to avoid an error. */ | 27 | /* Override any gcc2 internal prototype to avoid an error. */ | |
28 | -#ifdef __cplusplus | 28 | -#ifdef __cplusplus | |
29 | -extern "C" | 29 | -extern "C" | |
30 | -#endif | 30 | -#endif | |
31 | -/* We use char because int might match the return type of a gcc2 | 31 | -/* We use char because int might match the return type of a gcc2 | |
32 | - builtin and then its argument prototype would still apply. */ | 32 | - builtin and then its argument prototype would still apply. */ | |
33 | -char gettext (); | 33 | -char gettext (); | |
34 | +#include <libintl.h> | 34 | +#include <libintl.h> | |
35 | + | 35 | + | |
36 | int | 36 | int | |
37 | main () | 37 | main () | |
38 | { | 38 | { | |
39 | -gettext (); | 39 | -gettext (); | |
40 | +gettext (""); | 40 | +gettext (""); | |
41 | ; | 41 | ; | |
42 | return 0; | 42 | return 0; | |
43 | } | 43 | } | |
44 | @@ -24245,16 +24240,12 @@ cat >>conftest.$ac_ext <<_ACEOF | 44 | @@ -24318,16 +24313,12 @@ cat >>conftest.$ac_ext <<_ACEOF | |
45 | /* end confdefs.h. */ | 45 | /* end confdefs.h. */ | |
46 | 46 | |||
47 | /* Override any gcc2 internal prototype to avoid an error. */ | 47 | /* Override any gcc2 internal prototype to avoid an error. */ | |
48 | -#ifdef __cplusplus | 48 | -#ifdef __cplusplus | |
49 | -extern "C" | 49 | -extern "C" | |
50 | -#endif | 50 | -#endif | |
51 | -/* We use char because int might match the return type of a gcc2 | 51 | -/* We use char because int might match the return type of a gcc2 | |
52 | - builtin and then its argument prototype would still apply. */ | 52 | - builtin and then its argument prototype would still apply. */ | |
53 | -char gettext (); | 53 | -char gettext (); | |
54 | +#include <libintl.h> | 54 | +#include <libintl.h> | |
55 | + | 55 | + | |
56 | int | 56 | int | |
57 | main () | 57 | main () |
@@ -1,79 +1,78 @@ | @@ -1,79 +1,78 @@ | |||
1 | $NetBSD: patch-ad,v 1.1.1.1 2008/03/04 12:41:37 adam Exp $ | 1 | $NetBSD: patch-ad,v 1.2 2008/04/05 16:39:27 adam Exp $ | |
2 | 2 | |||
3 | --- src/backend/port/dynloader/netbsd.c.orig 2007-03-26 23:44:11.000000000 +0200 | 3 | --- src/backend/port/dynloader/netbsd.c.orig 2008-04-05 10:45:52.000000000 +0200 | |
4 | +++ src/backend/port/dynloader/netbsd.c | 4 | +++ src/backend/port/dynloader/netbsd.c | |
5 | @@ -42,65 +42,30 @@ static char sccsid[] = "@(#)dl.c 5.4 (Be | 5 | @@ -42,64 +42,30 @@ static char sccsid[] = "@(#)dl.c 5.4 (Be | |
6 | 6 | |||
7 | #include "dynloader.h" | 7 | #include "dynloader.h" | |
8 | 8 | |||
9 | -static char error_message[BUFSIZ]; | 9 | -static char error_message[BUFSIZ]; | |
10 | +#ifndef HAVE_DLOPEN | 10 | +#ifndef HAVE_DLOPEN | |
11 | 11 | |||
12 | char * | 12 | char * | |
13 | -BSD44_derived_dlerror(void) | 13 | -BSD44_derived_dlerror(void) | |
14 | +pg_dlerror(void) | 14 | +pg_dlerror(void) | |
15 | { | 15 | { | |
16 | - static char ret[BUFSIZ]; | 16 | - static char ret[BUFSIZ]; | |
17 | - | 17 | - | |
18 | - strcpy(ret, error_message); | 18 | - strcpy(ret, error_message); | |
19 | - error_message[0] = 0; | 19 | - error_message[0] = 0; | |
20 | - return (ret[0] == 0) ? NULL : ret; | 20 | - return (ret[0] == 0) ? NULL : ret; | |
21 | + return "dynaloader unsupported"; | 21 | + return "dynaloader unsupported"; | |
22 | } | 22 | } | |
23 | 23 | |||
24 | void * | 24 | void * | |
25 | -BSD44_derived_dlopen(const char *file, int num) | 25 | -BSD44_derived_dlopen(const char *file, int num) | |
26 | +pg_dlopen(const char *file, int num) | 26 | +pg_dlopen(const char *file, int num) | |
27 | { | 27 | { | |
28 | -#if defined(__mips__) | 28 | -#if !defined(HAVE_DLOPEN) | |
29 | - snprintf(error_message, sizeof(error_message), | 29 | - snprintf(error_message, sizeof(error_message), | |
30 | - "dlopen (%s) not supported", file); | 30 | - "dlopen (%s) not supported", file); | |
31 | + elog(ERROR, "dynamic load not supported"); | 31 | + elog(ERROR, "dynamic load not supported"); | |
32 | return NULL; | 32 | return NULL; | |
33 | -#else | 33 | -#else | |
34 | - void *vp; | 34 | - void *vp; | |
35 | - | 35 | - | |
36 | - if ((vp = dlopen((char *) file, num)) == NULL) | 36 | - if ((vp = dlopen((char *) file, num)) == NULL) | |
37 | - snprintf(error_message, sizeof(error_message), | 37 | - snprintf(error_message, sizeof(error_message), | |
38 | - "dlopen (%s) failed: %s", file, dlerror()); | 38 | - "dlopen (%s) failed: %s", file, dlerror()); | |
39 | - return vp; | 39 | - return vp; | |
40 | -#endif | 40 | -#endif | |
41 | } | 41 | } | |
42 | 42 | |||
43 | void * | 43 | void * | |
44 | -BSD44_derived_dlsym(void *handle, const char *name) | 44 | -BSD44_derived_dlsym(void *handle, const char *name) | |
45 | +pg_dlsym(void *handle, const char *name) | 45 | +pg_dlsym(void *handle, const char *name) | |
46 | { | 46 | { | |
47 | -#if defined(__mips__) | 47 | -#if !defined(HAVE_DLOPEN) | |
48 | - snprintf(error_message, sizeof(error_message), | 48 | - snprintf(error_message, sizeof(error_message), | |
49 | - "dlsym (%s) failed", name); | 49 | - "dlsym (%s) failed", name); | |
50 | return NULL; | 50 | return NULL; | |
51 | -#elif defined(__ELF__) | 51 | -#elif defined(__ELF__) | |
52 | - return dlsym(handle, name); | 52 | - return dlsym(handle, name); | |
53 | -#else | 53 | -#else | |
54 | - void *vp; | 54 | - void *vp; | |
55 | - char buf[BUFSIZ]; | 55 | - char buf[BUFSIZ]; | |
56 | - | 56 | - | |
57 | - if (*name != '_') | 57 | - if (*name != '_') | |
58 | - { | 58 | - { | |
59 | - snprintf(buf, sizeof(buf), "_%s", name); | 59 | - snprintf(buf, sizeof(buf), "_%s", name); | |
60 | - name = buf; | 60 | - name = buf; | |
61 | - } | 61 | - } | |
62 | - if ((vp = dlsym(handle, (char *) name)) == NULL) | 62 | - if ((vp = dlsym(handle, (char *) name)) == NULL) | |
63 | - snprintf(error_message, sizeof(error_message), | 63 | - snprintf(error_message, sizeof(error_message), | |
64 | - "dlsym (%s) failed", name); | 64 | - "dlsym (%s) failed", name); | |
65 | - return vp; | 65 | - return vp; | |
66 | -#endif | 66 | -#endif | |
67 | } | 67 | } | |
68 | 68 | |||
69 | void | 69 | void | |
70 | -BSD44_derived_dlclose(void *handle) | 70 | -BSD44_derived_dlclose(void *handle) | |
71 | +pg_dlclose(void *handle) | 71 | +pg_dlclose(void *handle) | |
72 | { | 72 | { | |
73 | -#if defined(__mips__) | 73 | -#if defined(HAVE_DLOPEN) | |
74 | -#else | |||
75 | - dlclose(handle); | 74 | - dlclose(handle); | |
76 | -#endif | 75 | -#endif | |
77 | } | 76 | } | |
78 | + | 77 | + | |
79 | +#endif /* ! HAVE_DLOPEN */ | 78 | +#endif /* ! HAVE_DLOPEN */ |