Re: pgsql: Add TAP tests for pg_verify_checksums

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Add TAP tests for pg_verify_checksums
Дата
Msg-id 20181020051605.pnemvsfmawdpiufe@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Add TAP tests for pg_verify_checksums  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: pgsql: Add TAP tests for pg_verify_checksums
Список pgsql-hackers
Hi,

On 2018-10-20 00:25:19 -0400, Stephen Frost wrote:
> If we are going to decide that we only deal with files in our directories
> matching these whitelisted patterns, then shouldn’t we apply similar logic
> in things like DROP DATABASE and any other cases where we perform actions
> in a recursive manner across our database and table space directories?

I'm honestly not sure if you're just trolling at this point.  Why would
anybody reasonable be concerned about DROP DATABASE dropping the
directory for the database? You're not honestly suggesting that anybody
would write an extension or anything like that that stores data in the
wrong database's directory, right?  Other iterations like fsyncing
files, copying the entire template database directory, etc are similarly
harmless or positive.


Greetings,

Andres Freund


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Add TAP tests for pg_verify_checksums
Следующее
От: David Rowley
Дата:
Сообщение: Re: Multi-insert into a partitioned table with before insert rowtrigger causes server crash on latest HEAD