Re: Thinking about EXPLAIN ALTER TABLE

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Thinking about EXPLAIN ALTER TABLE
Дата
Msg-id CANP8+j+5ZOs=RzarxbhOzEPSuxzJvz9TicfJLkEkhBF4A-isuQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Thinking about EXPLAIN ALTER TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Thinking about EXPLAIN ALTER TABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 10 Dec 2018 at 16:32, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Simon Riggs <simon@2ndquadrant.com> writes:
> I suggest ALTER TABLE should respond to a parameter setting of ddl_dry_run
> = on, so the whole world doesn't need to rewrite its syntax to support the
> new option.

We were just busy shooting down a different suggestion of
behavior-changing GUCs.  A GUC that turns all ALTERs into no-ops
sure seems like a foot-gun to me.

How would you test a script? Manually edit each one with the new option? Manual editing is more of a foot gun.

--
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Предыдущее
От: s.cherkashin@postgrespro.ru
Дата:
Сообщение: Re: Psql patch to show access methods info
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Thinking about EXPLAIN ALTER TABLE