pgsql: Fix pg_sequence_last_value() for unlogged sequences on standbys.

2024-05-14 Thread Nathan Bossart
Fix pg_sequence_last_value() for unlogged sequences on standbys. Presently, when this function is called for an unlogged sequence on a standby server, it will error out with a message like ERROR: could not open file "base/5/16388": No such file or directory Since the pg_sequences system

pgsql: Fix pg_sequence_last_value() for unlogged sequences on standbys.

2024-05-14 Thread Nathan Bossart
Fix pg_sequence_last_value() for unlogged sequences on standbys. Presently, when this function is called for an unlogged sequence on a standby server, it will error out with a message like ERROR: could not open file "base/5/16388": No such file or directory Since the pg_sequences system

pgsql: Fix pg_sequence_last_value() for unlogged sequences on standbys.

2024-05-14 Thread Nathan Bossart
Fix pg_sequence_last_value() for unlogged sequences on standbys. Presently, when this function is called for an unlogged sequence on a standby server, it will error out with a message like ERROR: could not open file "base/5/16388": No such file or directory Since the pg_sequences system

pgsql: Fix pg_sequence_last_value() for unlogged sequences on standbys.

2024-05-14 Thread Nathan Bossart
Fix pg_sequence_last_value() for unlogged sequences on standbys. Presently, when this function is called for an unlogged sequence on a standby server, it will error out with a message like ERROR: could not open file "base/5/16388": No such file or directory Since the pg_sequences system

pgsql: Fix pg_sequence_last_value() for unlogged sequences on standbys.

2024-05-14 Thread Nathan Bossart
Fix pg_sequence_last_value() for unlogged sequences on standbys. Presently, when this function is called for an unlogged sequence on a standby server, it will error out with a message like ERROR: could not open file "base/5/16388": No such file or directory Since the pg_sequences system

pgsql: Fix pg_sequence_last_value() for unlogged sequences on standbys.

2024-05-14 Thread Nathan Bossart
Fix pg_sequence_last_value() for unlogged sequences on standbys. Presently, when this function is called for an unlogged sequence on a standby server, it will error out with a message like ERROR: could not open file "base/5/16388": No such file or directory Since the pg_sequences system