Re: pgsql: Add a regression test for allow_system_table_mods

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: Add a regression test for allow_system_table_mods
Дата
Msg-id 20191203041247.GD1634@paquier.xyz
обсуждение исходный текст
Ответ на Re: pgsql: Add a regression test for allow_system_table_mods  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add a regression test for allow_system_table_mods  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-committers
On Mon, Dec 02, 2019 at 10:11:40AM -0500, Tom Lane wrote:
> One way would be to provide a variant expected-file, but that's not going
> to be fun for future maintenance of the test script.  Another simple
> answer is to crank up client_min_messages for this one test to hide the
> WARNING, but you could conjure scenarios where that misses something
> important.  (Of course, not running the test at all would also miss
> any such issue.)

Alternate output files should be IMO avoided if we can, so if I were
to choose sneaking a SET client_min_messages would be fine, but only
for the second create tablespace..
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix failures with TAP tests of pg_ctl on Windows
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Remove XLogFileNameP() from the tree