Re: Prettification versus dump safety

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Prettification versus dump safety
Дата
Msg-id 8795.1258752339@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Prettification versus dump safety  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-hackers
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> Tom Lane wrote:
>> The easy ways out of this are
>> (1) change pg_dump to not prettify trigger definitions at all, or
>> (2) change pg_get_triggerdef from the submitted patch so that it
>> doesn't reduce parenthesization even in "pretty" mode.
>> 
> The pretty option was explicitely never intended for pg_dump use.

Yeah.  I went with (1) because it's something we can undo in future
on the pg_dump side.  The alternative is to immortalize an arbitrary
deviation of pg_get_triggerdef's pretty-fying behavior compared to
every other ruleutils.c function.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: TRIGGER with WHEN clause
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why do OLD and NEW have special internal names?