]> granicus.if.org Git - postgresql/commitdiff
Fix hot standby tests for sequence catalog change
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 3 Jan 2017 17:00:00 +0000 (12:00 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 3 Jan 2017 14:27:43 +0000 (09:27 -0500)
From: Kuntal Ghosh <kuntalghosh.2007@gmail.com>

src/test/regress/expected/hs_standby_allowed.out
src/test/regress/sql/hs_standby_allowed.sql

index c26c9822f63555c2ad4bf3b9b40b8440ab271fcb..487b30e1eee38a35a6184a59fa4b268b2bf081d2 100644 (file)
@@ -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
index 7fc22148cbc986067c9d9a2d7090b62d2c72cb17..26fb65cb49267f0dedee517fd18d473cf0fd45f4 100644 (file)
@@ -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