Re: pg_sequence_last_value() for unlogged sequences on standbys

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: pg_sequence_last_value() for unlogged sequences on standbys
Дата
Msg-id 20240501020531.GA721953@nathanxps13
обсуждение исходный текст
Ответ на Re: pg_sequence_last_value() for unlogged sequences on standbys  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: pg_sequence_last_value() for unlogged sequences on standbys  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Tue, Apr 30, 2024 at 08:13:17PM -0500, Nathan Bossart wrote:
> Good point.  I'll work on a patch along these lines, then.

This ended up being easier than I expected.  While unlogged sequences are
only supported on v15 and above, temporary sequences have been around since
v7.2, so this will probably need to be back-patched to all supported
versions.  The added test case won't work for v12-v14 since it uses an
unlogged sequence.  I'm not sure it's worth constructing a test case for
temporary sequences.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: pg_sequence_last_value() for unlogged sequences on standbys
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [PATCH] Improve amcheck to also check UNIQUE constraint in btree index.