From: Peter Eisentraut Date: Tue, 3 Jan 2017 17:00:00 +0000 (-0500) Subject: Fix hot standby tests for sequence catalog change X-Git-Tag: REL_10_BETA1~1172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d54c16c24d7fd73c9fdfa4b2f946899f7f85e58;p=postgresql Fix hot standby tests for sequence catalog change From: Kuntal Ghosh --- diff --git a/src/test/regress/expected/hs_standby_allowed.out b/src/test/regress/expected/hs_standby_allowed.out index c26c9822f6..487b30e1ee 100644 --- a/src/test/regress/expected/hs_standby_allowed.out +++ b/src/test/regress/expected/hs_standby_allowed.out @@ -26,7 +26,7 @@ COPY hs1 TO '/tmp/copy_test'; \! cat /tmp/copy_test 1 -- Access sequence directly -select min_value as sequence_min_value from hsseq; +select min_value as sequence_min_value from pg_sequences where sequencename = 'hsseq'; sequence_min_value -------------------- 1 diff --git a/src/test/regress/sql/hs_standby_allowed.sql b/src/test/regress/sql/hs_standby_allowed.sql index 7fc22148cb..26fb65cb49 100644 --- a/src/test/regress/sql/hs_standby_allowed.sql +++ b/src/test/regress/sql/hs_standby_allowed.sql @@ -16,7 +16,7 @@ COPY hs1 TO '/tmp/copy_test'; \! cat /tmp/copy_test -- Access sequence directly -select min_value as sequence_min_value from hsseq; +select min_value as sequence_min_value from pg_sequences where sequencename = 'hsseq'; -- Transactions