Idempotency for all DDL statements

Поиск
Список
Период
Сортировка
От Kenaniah Cerny
Тема Idempotency for all DDL statements
Дата
Msg-id CA+r_aq8-ZfKd8cwydN1mQAzFQ3JrdcBHWMuEMt9_ofoKRam_6A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Idempotency for all DDL statements  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
Hello everyone. This is my first time posting in -hackers, so please keep this in mind. 

I would like to formally request the addition of "IF EXISTS", "IF NOT EXISTS", "OR REPLACE", and any other CINE variants to DDL statements that currently do not feature an idempotent construct.

The lack of an idempotent option in statements such as "CREATE TRIGGER" for example is particularly painful when performing upgrades on sizable schemas. 

I understand that there may be some difficulties in providing this to various database objects. That said, I believe IMHO that this would be a huge win for the community at large. Could I request DDL idempotency as an addition to the development roadmap?

Thanks,

Kenaniah

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

Предыдущее
От: Corey Huinker
Дата:
Сообщение: Re: COPY as a set returning function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Replace PostmasterRandom() with a stronger way of generating ran