diff --git a/.gitignore b/.gitignore index 5374a8b..89d4198 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,3 @@ -/postgresql-17.2.tar.bz2 -/postgresql-17.2.tar.bz2.sha256 -/postgresql-setup-8.9.tar.gz -/postgresql-18beta1.tar.bz2.sha256 -/postgresql-18beta1.tar.bz2 -/postgresql-18.0.tar.bz2 -/postgresql-17.6.tar.bz2 -/postgresql-18.0.tar.bz2.sha256 -/postgresql-17.6.tar.bz2.sha256 -/postgresql-16.10.tar.bz2 -/postgresql-16.10.tar.bz2.sha256 -/postgresql-16.6.tar.bz2.sha256 -/postgresql-18.1.tar.bz2 -/postgresql-18.1.tar.bz2.sha256 -/postgresql-16.11.tar.bz2 -/postgresql-16.11.tar.bz2.sha256 -/postgresql-18.2.tar.bz2 -/postgresql-18.2.tar.bz2.sha256 +postgresql-16.13.tar.bz2 +postgresql-18.3.tar.bz2 +postgresql-setup-8.9.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index b92ec81..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# postgresql18 - -The postgresql18 package diff --git a/ci.fmf b/ci.fmf deleted file mode 100644 index c5aa0e0..0000000 --- a/ci.fmf +++ /dev/null @@ -1 +0,0 @@ -resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index 120f6d6..0000000 --- a/gating.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- !Policy -product_versions: - - rhel-* -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/rhel-gating.functional} diff --git a/generate-sources.sh b/generate-sources.sh deleted file mode 100644 index 1d53682..0000000 --- a/generate-sources.sh +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/sh - -rm sources -set -e -spectool -S *.spec | cut -d' ' -f2 \ - | grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \ -while read line -do - base=`basename "$line"` - echo " * handling $base" - sha512sum --tag "$base" >> sources -done diff --git a/hstore-plperl-data-dumper.patch b/hstore-plperl-data-dumper.patch deleted file mode 100644 index dfc2f23..0000000 --- a/hstore-plperl-data-dumper.patch +++ /dev/null @@ -1,192 +0,0 @@ -From 69db3b0cfccc0687dfbdf56afcfb2f8e536053c6 Mon Sep 17 00:00:00 2001 -From: Andrew Dunstan -Date: Sun, 14 May 2017 01:10:18 -0400 -Subject: [PATCH] Suppress indentation from Data::Dumper in regression tests - -Ultra-modern versions of the perl Data::Dumper module have apparently -changed how they indent output. Instead of trying to keep up we choose -to tell it to supporess all indentation in the hstore_plperl regression -tests. - -Backpatch to 9.5 where this feature was introduced. ---- - contrib/hstore_plperl/expected/hstore_plperlu.out | 44 ++++++----------------- - contrib/hstore_plperl/sql/hstore_plperlu.sql | 6 ++++ - 2 files changed, 17 insertions(+), 33 deletions(-) - -diff --git a/contrib/hstore_plperl/expected/hstore_plperlu.out b/contrib/hstore_plperl/expected/hstore_plperlu.out -index b09fb78..d719d29 100644 ---- a/contrib/hstore_plperl/expected/hstore_plperlu.out -+++ b/contrib/hstore_plperl/expected/hstore_plperlu.out -@@ -20,15 +20,12 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_[0])); - return scalar(keys %{$_[0]}); - $$; - SELECT test1('aa=>bb, cc=>NULL'::hstore); --INFO: $VAR1 = { -- 'aa' => 'bb', -- 'cc' => undef -- }; -- -+INFO: $VAR1 = {'aa' => 'bb','cc' => undef}; - test1 - ------- - 2 -@@ -39,12 +36,12 @@ LANGUAGE plperlu - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_[0])); - return scalar(keys %{$_[0]}); - $$; - SELECT test1none('aa=>bb, cc=>NULL'::hstore); - INFO: $VAR1 = '"aa"=>"bb", "cc"=>NULL'; -- - test1none - ----------- - 0 -@@ -56,15 +53,12 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_[0])); - return scalar(keys %{$_[0]}); - $$; - SELECT test1list('aa=>bb, cc=>NULL'::hstore); --INFO: $VAR1 = { -- 'aa' => 'bb', -- 'cc' => undef -- }; -- -+INFO: $VAR1 = {'aa' => 'bb','cc' => undef}; - test1list - ----------- - 2 -@@ -77,18 +71,12 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_[0]->[0], $_[0]->[1])); - return scalar(keys %{$_[0]}); - $$; - SELECT test1arr(array['aa=>bb, cc=>NULL'::hstore, 'dd=>ee']); --INFO: $VAR1 = { -- 'aa' => 'bb', -- 'cc' => undef -- }; --$VAR2 = { -- 'dd' => 'ee' -- }; -- -+INFO: $VAR1 = {'aa' => 'bb','cc' => undef};$VAR2 = {'dd' => 'ee'}; - test1arr - ---------- - 2 -@@ -101,6 +89,7 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - - $rv = spi_exec_query(q{SELECT 'aa=>bb, cc=>NULL'::hstore AS col1}); - elog(INFO, Dumper($rv->{rows}[0]->{col1})); -@@ -111,13 +100,8 @@ $rv = spi_exec_prepared($plan, {}, $val); - elog(INFO, Dumper($rv->{rows}[0]->{col1})); - $$; - SELECT test3(); --INFO: $VAR1 = { -- 'aa' => 'bb', -- 'cc' => undef -- }; -- -+INFO: $VAR1 = {'aa' => 'bb','cc' => undef}; - INFO: $VAR1 = '"a"=>"1", "b"=>"boo", "c"=>NULL'; -- - test3 - ------- - -@@ -138,6 +122,7 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_TD->{new})); - if ($_TD->{new}{a} == 1) { - $_TD->{new}{b} = {a => 1, b => 'boo', c => undef}; -@@ -147,14 +132,7 @@ return "MODIFY"; - $$; - CREATE TRIGGER test4 BEFORE UPDATE ON test1 FOR EACH ROW EXECUTE PROCEDURE test4(); - UPDATE test1 SET a = a; --INFO: $VAR1 = { -- 'a' => '1', -- 'b' => { -- 'aa' => 'bb', -- 'cc' => undef -- } -- }; -- -+INFO: $VAR1 = {'a' => '1','b' => {'aa' => 'bb','cc' => undef}}; - SELECT * FROM test1; - a | b - ---+--------------------------------- -diff --git a/contrib/hstore_plperl/sql/hstore_plperlu.sql b/contrib/hstore_plperl/sql/hstore_plperlu.sql -index 8d8508c..c714b35 100644 ---- a/contrib/hstore_plperl/sql/hstore_plperlu.sql -+++ b/contrib/hstore_plperl/sql/hstore_plperlu.sql -@@ -15,6 +15,7 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_[0])); - return scalar(keys %{$_[0]}); - $$; -@@ -26,6 +27,7 @@ LANGUAGE plperlu - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_[0])); - return scalar(keys %{$_[0]}); - $$; -@@ -38,6 +40,7 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_[0])); - return scalar(keys %{$_[0]}); - $$; -@@ -52,6 +55,7 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_[0]->[0], $_[0]->[1])); - return scalar(keys %{$_[0]}); - $$; -@@ -66,6 +70,7 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - - $rv = spi_exec_query(q{SELECT 'aa=>bb, cc=>NULL'::hstore AS col1}); - elog(INFO, Dumper($rv->{rows}[0]->{col1})); -@@ -90,6 +95,7 @@ TRANSFORM FOR TYPE hstore - AS $$ - use Data::Dumper; - $Data::Dumper::Sortkeys = 1; -+$Data::Dumper::Indent = 0; - elog(INFO, Dumper($_TD->{new})); - if ($_TD->{new}{a} == 1) { - $_TD->{new}{b} = {a => 1, b => 'boo', c => undef}; --- -2.1.4 diff --git a/plans.fmf b/plans.fmf deleted file mode 100644 index 939cfe8..0000000 --- a/plans.fmf +++ /dev/null @@ -1,10 +0,0 @@ -/rhel-gating: - plan: - import: - url: https://pkgs.devel.redhat.com/git/tests/postgresql - name: /plans/versioned/postgresql18/gating -/rhel-no-gating: - plan: - import: - url: https://pkgs.devel.redhat.com/git/tests/postgresql - name: /plans/versioned/postgresql18/no-gating diff --git a/plperl_warning.patch b/plperl_warning.patch deleted file mode 100644 index 1e260a3..0000000 --- a/plperl_warning.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -ur postgresql-15.4/src/pl/plperl/expected/plperl_call.out postgresql-patched/src/pl/plperl/expected/plperl_call.out ---- postgresql-15.4/src/pl/plperl/expected/plperl_call.out 2023-08-07 22:08:18.000000000 +0200 -+++ postgresql-patched/src/pl/plperl/expected/plperl_call.out 2023-09-18 10:23:42.499078442 +0200 -@@ -64,6 +64,7 @@ - RAISE NOTICE '_a: %, _b: %', _a, _b; - END - $$; -+WARNING: could not determine encoding for locale "C.UTF-8": codeset is "ANSI_X3.4-1968" - NOTICE: a: 10, b: - NOTICE: _a: 10, _b: 20 - DROP PROCEDURE test_proc1; -diff -ur postgresql-15.4/src/pl/plperl/expected/plperl_elog_1.out postgresql-patched/src/pl/plperl/expected/plperl_elog_1.out ---- postgresql-15.4/src/pl/plperl/expected/plperl_elog_1.out 2023-08-07 22:08:18.000000000 +0200 -+++ postgresql-patched/src/pl/plperl/expected/plperl_elog_1.out 2023-09-18 10:24:39.233451395 +0200 -@@ -76,6 +76,7 @@ - RETURN 1; - END; - $$; -+WARNING: could not determine encoding for locale "C.UTF-8": codeset is "ANSI_X3.4-1968" - select die_caller(); - NOTICE: caught die - die_caller -Only in postgresql-patched/src/pl/plperl/expected: plperl_warning.patch diff --git a/postgresql-12.5-contrib-dblink-expected-out.patch b/postgresql-12.5-contrib-dblink-expected-out.patch deleted file mode 100644 index bd4b0e5..0000000 --- a/postgresql-12.5-contrib-dblink-expected-out.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/contrib/dblink/expected/dblink.out b/contrib/dblink/expected/dblink.out -index 6ceabb453c..6516d4f131 100644 ---- a/contrib/dblink/expected/dblink.out -+++ b/contrib/dblink/expected/dblink.out -@@ -879,7 +879,7 @@ $d$; - CREATE USER MAPPING FOR public SERVER fdtest - OPTIONS (server 'localhost'); -- fail, can't specify server here - ERROR: invalid option "server" --HINT: Valid options in this context are: user, password -+HINT: Valid options in this context are: user, password, sslpassword - CREATE USER MAPPING FOR public SERVER fdtest OPTIONS (user :'USER'); - GRANT USAGE ON FOREIGN SERVER fdtest TO regress_dblink_user; - GRANT EXECUTE ON FUNCTION dblink_connect_u(text, text) TO regress_dblink_user; diff --git a/postgresql-16.13.tar.bz2.sha256 b/postgresql-16.13.tar.bz2.sha256 new file mode 100644 index 0000000..017f6bc --- /dev/null +++ b/postgresql-16.13.tar.bz2.sha256 @@ -0,0 +1 @@ +dc2ddbbd245c0265a689408e3d2f2f3f9ba2da96bd19318214b313cdd9797287 postgresql-16.13.tar.bz2 diff --git a/postgresql-18.3.tar.bz2.sha256 b/postgresql-18.3.tar.bz2.sha256 new file mode 100644 index 0000000..44943e1 --- /dev/null +++ b/postgresql-18.3.tar.bz2.sha256 @@ -0,0 +1 @@ +d95663fbbf3a80f81a9d98d895266bdcb74ba274bcc04ef6d76630a72dee016f postgresql-18.3.tar.bz2 diff --git a/postgresql-man.patch b/postgresql-man.patch deleted file mode 100644 index 6b0ed00..0000000 --- a/postgresql-man.patch +++ /dev/null @@ -1,49 +0,0 @@ -PostgreSQL ecpg/initdb manual page fixes - -This was generated based on automatic Red Hat manual page scan (private -RHBZ#948933). - -diff -up postgresql-13.1/doc/src/sgml/man1/ecpg.1.patch6 postgresql-13.1/doc/src/sgml/man1/ecpg.1 ---- postgresql-13.1/doc/src/sgml/man1/ecpg.1.patch6 2020-11-09 23:38:03.000000000 +0100 -+++ postgresql-13.1/doc/src/sgml/man1/ecpg.1 2020-11-18 09:26:40.547324791 +0100 -@@ -81,6 +81,11 @@ ORACLE\&. - Define a C preprocessor symbol\&. - .RE - .PP -+\fB\-h \fR -+.RS 4 -+Parse a header file, this option includes option \fB\-c\fR\&. -+.RE -+.PP - \fB\-h\fR - .RS 4 - Process header files\&. When this option is specified, the output file extension becomes -@@ -144,6 +149,11 @@ Allow question mark as placeholder for c - .RE - .RE - .PP -+\fB\-\-regression\fR -+.RS 4 -+Run in regression testing mode\&. -+.RE -+.PP - \fB\-t\fR - .RS 4 - Turn on autocommit of transactions\&. In this mode, each SQL command is automatically committed unless it is inside an explicit transaction block\&. In the default mode, commands are committed only when -diff -up postgresql-13.1/doc/src/sgml/man1/initdb.1.patch6 postgresql-13.1/doc/src/sgml/man1/initdb.1 ---- postgresql-13.1/doc/src/sgml/man1/initdb.1.patch6 2020-11-09 23:38:05.000000000 +0100 -+++ postgresql-13.1/doc/src/sgml/man1/initdb.1 2020-11-18 09:25:05.082348424 +0100 -@@ -311,6 +311,13 @@ determines that an error prevented it fr - .PP - Other options: - .PP -+\fB\-s\fR -+.br -+\fB\-\-show\fR -+.RS 4 -+Print the internal settings, then exit\&. -+.RE -+.PP - \fB\-V\fR - .br - \fB\-\-version\fR diff --git a/rpminspect.yaml b/rpminspect.yaml deleted file mode 100644 index 0647934..0000000 --- a/rpminspect.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -# Forbidden function symbols found: -# inet_net_ntop -# inet_net_pton -# This is not a problem because the older version is only used for upgrade -# purposes and communicates through unix socket only -badfuncs: - ignore: - - /usr/lib*/pgsql/postgresql-*/bin/postgres - -# Invalid XML for HTML doc is ok -xml: - ignore: - - /usr/share/doc/postgresql-docs/html/*.html - -# Wacky guess on file type that we do not need to care -# Message: MIME type on was text/plain and became text/x-c -types: - ignore: - - /usr/lib64/pgsql/postgresql-*/include/server/port/freebsd.h - - /usr/include/pgsql/server/port/freebsd.h diff --git a/sources b/sources index a278cf5..2420311 100644 --- a/sources +++ b/sources @@ -1,5 +1,3 @@ -SHA512 (postgresql-18.3.tar.bz2) = fdbe6d726f46738cf14acab96e5c05f7d65aefe78563281b416bb14a27c7c42e4df921e26b32816a5030ddbe506b95767e2c74a35afc589916504df38d1cb11c -SHA512 (postgresql-18.3.tar.bz2.sha256) = f60993818b7b0feb1f4172ecb641ebbe670d18e4f62bb275706625bb05a281e201a7c6ddb2194c611b650814db1b0ffa499428369b00b8a0840f25f8ad0e5100 SHA512 (postgresql-16.13.tar.bz2) = 3ea11b81ce55be5c3c169f0c94ddfa9debae6b3cbe7407086ba3a602fad7668900c2838d4d4488c671b2ccc670a9cd288ece90e42ecf8de953df6b4e103d286d -SHA512 (postgresql-16.13.tar.bz2.sha256) = 0be6cc3fc1f0d358b63288f0f8029932ad90c1fc8d98867cc07e9d832c14228835d66f747c2105db7a7455976f5654a8592bb0b1de3baf91163fa108d8325ea6 +SHA512 (postgresql-18.3.tar.bz2) = fdbe6d726f46738cf14acab96e5c05f7d65aefe78563281b416bb14a27c7c42e4df921e26b32816a5030ddbe506b95767e2c74a35afc589916504df38d1cb11c SHA512 (postgresql-setup-8.9.tar.gz) = 118e9ebf858722a38b0e90324bc1b49fc7058cda601ca0a7e78c94e7b95e89d6dbbc46f377626364b068614ced3cde3cb4733973ad2d71bf17892ad773657ef7