Re: [WIP] ALTER COLUMN IF EXISTS

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: [WIP] ALTER COLUMN IF EXISTS
Дата
Msg-id 69DBE4AB-D30B-400E-B638-1D3CA48BA5A2@yesql.se
обсуждение исходный текст
Ответ на Re: [WIP] ALTER COLUMN IF EXISTS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On 1 Apr 2022, at 02:30, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "David G. Johnston" <david.g.johnston@gmail.com> writes:

>> At present the project seems to largely consider the IF EXISTS/IF NOT
>> EXISTS features to have been largely a mistake and while removing it is not
>> going to happen the desire to change or extend it is not strong.
>
> That might be an overstatement.

ISTR that patches which have been rejected have largely added support for the
syntax for the sake of adding support for the syntax, not because there was a
need or usecase for it.  When the patch is accompanied with an actual usecase
it's also easier to reason about.

Now, the usecase of "I wanted to to start working on PostgreSQL and this seemed
like a good first patch" is clearly also very important.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Skipping logical replication transactions on subscriber side
Следующее
От: David Rowley
Дата:
Сообщение: Re: generic plans and "initial" pruning