diff options
author | Tom Lane <tgl@fedoraproject.org> | 2008-01-18 20:48:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@fedoraproject.org> | 2008-01-18 20:48:56 +0000 |
commit | 8bf3ae46afb32ec2ef8bdd3bb2b5ae34000ce0f8 (patch) | |
tree | 91498d7c8618832f04d32e870ab6118940700e06 /postgresql-test.patch | |
parent | 8d5bd11f6b98274c21bf5a194cde080b742e3481 (diff) | |
download | postgresql-setup-8bf3ae46afb32ec2ef8bdd3bb2b5ae34000ce0f8.tar.gz postgresql-setup-8bf3ae46afb32ec2ef8bdd3bb2b5ae34000ce0f8.tar.xz postgresql-setup-8bf3ae46afb32ec2ef8bdd3bb2b5ae34000ce0f8.zip |
Update to PostgreSQL 8.3RC2 and pgtcl 1.6.2.postgresql-8_3RC2-1_fc9
Diffstat (limited to 'postgresql-test.patch')
-rw-r--r-- | postgresql-test.patch | 58 |
1 files changed, 19 insertions, 39 deletions
diff --git a/postgresql-test.patch b/postgresql-test.patch index dead4c5..5b1d6f4 100644 --- a/postgresql-test.patch +++ b/postgresql-test.patch @@ -1,73 +1,53 @@ -diff -Naur postgresql-8.2.0.orig/src/test/regress/GNUmakefile postgresql-8.2.0/src/test/regress/GNUmakefile ---- postgresql-8.2.0.orig/src/test/regress/GNUmakefile 2006-07-20 20:24:04.000000000 -0400 -+++ postgresql-8.2.0/src/test/regress/GNUmakefile 2006-12-04 19:56:54.000000000 -0500 -@@ -102,12 +102,23 @@ - testtablespace := $(abs_builddir)/testtablespace - - -+ifdef RPMTESTING -+define sed-command -+sed -e 's,@abs_srcdir@,$(libdir)/pgsql/test/regress,g' \ -+ -e 's,@abs_builddir@,$(libdir)/pgsql/test/regress,g' \ -+ -e 's,@abs_spidir@,$(libdir)/pgsql/test/regress,g' \ -+ -e 's,@testtablespace@,$(libdir)/pgsql/test/regress/testtablespace,g' \ -+ -e 's/@DLSUFFIX@/$(DLSUFFIX)/g' $< >$@ -+endef -+else - define sed-command - sed -e 's,@abs_srcdir@,$(abs_srcdir),g' \ - -e 's,@abs_builddir@,$(abs_builddir),g' \ -+ -e 's,@abs_spidir@,$(abs_builddir)/../../../contrib/spi,g' \ - -e 's,@testtablespace@,$(testtablespace),g' \ - -e 's/@DLSUFFIX@/$(DLSUFFIX)/g' $< >$@ - endef -+endif - - $(input_files): sql/%.sql: input/%.source - $(sed-command) -diff -Naur postgresql-8.2.0.orig/src/test/regress/input/create_function_1.source postgresql-8.2.0/src/test/regress/input/create_function_1.source ---- postgresql-8.2.0.orig/src/test/regress/input/create_function_1.source 2006-02-27 11:09:50.000000000 -0500 -+++ postgresql-8.2.0/src/test/regress/input/create_function_1.source 2006-12-04 19:58:24.000000000 -0500 +In the postgresql-test RPM, the contrib .so's that are used by the tests +are installed right in the directory where the tests are run. We must +adjust the CREATE FUNCTION commands accordingly. Note that this also +means that the specfile has to copy the .so's into the test directory +while doing the in-build-tree regression tests. + + +diff -Naur postgresql-8.3RC2.orig/src/test/regress/input/create_function_1.source postgresql-8.3RC2/src/test/regress/input/create_function_1.source +--- postgresql-8.3RC2.orig/src/test/regress/input/create_function_1.source 2006-02-27 11:09:50.000000000 -0500 ++++ postgresql-8.3RC2/src/test/regress/input/create_function_1.source 2008-01-18 13:38:51.000000000 -0500 @@ -24,17 +24,17 @@ CREATE FUNCTION check_primary_key () RETURNS trigger - AS '@abs_builddir@/../../../contrib/spi/refint@DLSUFFIX@' -+ AS '@abs_spidir@/refint@DLSUFFIX@' ++ AS '@abs_builddir@/refint@DLSUFFIX@' LANGUAGE C; CREATE FUNCTION check_foreign_key () RETURNS trigger - AS '@abs_builddir@/../../../contrib/spi/refint@DLSUFFIX@' -+ AS '@abs_spidir@/refint@DLSUFFIX@' ++ AS '@abs_builddir@/refint@DLSUFFIX@' LANGUAGE C; CREATE FUNCTION autoinc () RETURNS trigger - AS '@abs_builddir@/../../../contrib/spi/autoinc@DLSUFFIX@' -+ AS '@abs_spidir@/autoinc@DLSUFFIX@' ++ AS '@abs_builddir@/autoinc@DLSUFFIX@' LANGUAGE C; CREATE FUNCTION funny_dup17 () -diff -Naur postgresql-8.2.0.orig/src/test/regress/output/create_function_1.source postgresql-8.2.0/src/test/regress/output/create_function_1.source ---- postgresql-8.2.0.orig/src/test/regress/output/create_function_1.source 2006-03-14 17:48:25.000000000 -0500 -+++ postgresql-8.2.0/src/test/regress/output/create_function_1.source 2006-12-04 19:58:54.000000000 -0500 +diff -Naur postgresql-8.3RC2.orig/src/test/regress/output/create_function_1.source postgresql-8.3RC2/src/test/regress/output/create_function_1.source +--- postgresql-8.3RC2.orig/src/test/regress/output/create_function_1.source 2007-06-18 17:40:58.000000000 -0400 ++++ postgresql-8.3RC2/src/test/regress/output/create_function_1.source 2008-01-18 13:38:51.000000000 -0500 @@ -25,15 +25,15 @@ NOTICE: argument type city_budget is only a shell CREATE FUNCTION check_primary_key () RETURNS trigger - AS '@abs_builddir@/../../../contrib/spi/refint@DLSUFFIX@' -+ AS '@abs_spidir@/refint@DLSUFFIX@' ++ AS '@abs_builddir@/refint@DLSUFFIX@' LANGUAGE C; CREATE FUNCTION check_foreign_key () RETURNS trigger - AS '@abs_builddir@/../../../contrib/spi/refint@DLSUFFIX@' -+ AS '@abs_spidir@/refint@DLSUFFIX@' ++ AS '@abs_builddir@/refint@DLSUFFIX@' LANGUAGE C; CREATE FUNCTION autoinc () RETURNS trigger - AS '@abs_builddir@/../../../contrib/spi/autoinc@DLSUFFIX@' -+ AS '@abs_spidir@/autoinc@DLSUFFIX@' ++ AS '@abs_builddir@/autoinc@DLSUFFIX@' LANGUAGE C; CREATE FUNCTION funny_dup17 () RETURNS trigger |