Re: pgsql: Add TAP tests for pg_verify_checksums

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Add TAP tests for pg_verify_checksums
Дата
Msg-id 20181012024118.q3jwio7gf52nsrmm@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Add TAP tests for pg_verify_checksums  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: pgsql: Add TAP tests for pg_verify_checksums
Список pgsql-hackers
Hi,

On 2018-10-12 11:07:58 +0900, Michael Paquier wrote:
> On Thu, Oct 11, 2018 at 06:53:19PM -0700, Andres Freund wrote:
> > Hm. Maybe I'm confused, but how is it correct to use a blacklisting
> > approach here? It's far from absurd to have files inside a tablespacs
> > when using temp_tablespace that aren't written through the buffer
> > manager.  Like, uh, temp files, when using temp_tablespaces.
> 
> pg_verify_checksums assumes that the cluster has been cleanly shut
> down so temp files are not an issue, no?  However...

We only remove temp dirs on startup, and I'm pretty sure there at least
not too long ago were a few error cases where we can leak temp files in
individual sessions.  And there's talk about allowing
pg_verify_checksums when online.  So this seems to be an angle that
needs to be thought about...

Greetings,

Andres Freund


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Add TAP tests for pg_verify_checksums
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: out-of-order XID insertion in KnownAssignedXids