The purpose of the test was to check access to the sequence relation on
a hot standby, so change the test to read a different column from the
sequence, instead of just reading the catalog.
From: Andreas Karlsson <andreas@proxel.se>
\! cat /tmp/copy_test
1
-- Access sequence directly
-select min_value as sequence_min_value from pg_sequences where sequencename = 'hsseq';
- sequence_min_value
---------------------
- 1
+select is_called from hsseq;
+ is_called
+-----------
+ f
(1 row)
-- Transactions
\! cat /tmp/copy_test
-- Access sequence directly
-select min_value as sequence_min_value from pg_sequences where sequencename = 'hsseq';
+select is_called from hsseq;
-- Transactions