Re: Is txid_status() actually safe? / What is 011_crash_recovery.pl testing?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Is txid_status() actually safe? / What is 011_crash_recovery.pl testing?
Дата
Msg-id CA+Tgmobctx3jMuyGC=yKQHMq4PWmNe-04gMbkapjjnU1S8gF8w@mail.gmail.com
обсуждение исходный текст
Ответ на Is txid_status() actually safe? / What is 011_crash_recovery.pl testing?  (Andres Freund <andres@anarazel.de>)
Ответы Re: Is txid_status() actually safe? / What is 011_crash_recovery.pl testing?  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Feb 8, 2021 at 4:52 PM Andres Freund <andres@anarazel.de> wrote:
> The 011_crash_recovery.pl test test starts a transaction, creates a
> table, fetches the transaction's xid. Then shuts down the server in
> immediate mode. It then asserts that after crash recovery the previously
> assigned xid is shown as aborted, and that new xids are assigned after
> the xid.
>
> But as far as I can tell there's no guarantee that that is the case.

I think you are right.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [POC] verifying UTF-8 using SIMD instructions
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Custom compression methods