Re: alter enum add value if not exists

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: alter enum add value if not exists
Дата
Msg-id
3292.1348351699@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
alter enum add value if not exists Andrew Dunstan <andrew@dunslane.net>
Re: alter enum add value if not exists Magnus Hagander <magnus@hagander.net>
Re: alter enum add value if not exists Andrew Dunstan <andrew@dunslane.net>
Re: alter enum add value if not exists Magnus Hagander <magnus@hagander.net>
Re: alter enum add value if not exists Andrew Dunstan <andrew@dunslane.net>
Re: alter enum add value if not exists Tom Lane <tgl@sss.pgh.pa.us>
Re: alter enum add value if not exists Andrew Dunstan <andrew@dunslane.net>
Re: alter enum add value if not exists Tom Lane <tgl@sss.pgh.pa.us>
Re: alter enum add value if not exists Andrew Dunstan <andrew@dunslane.net>
Re: alter enum add value if not exists Tom Lane <tgl@sss.pgh.pa.us>
Re: alter enum add value if not exists Hannu Krosing <hannu@2ndQuadrant.com>
Re: alter enum add value if not exists Tom Lane <tgl@sss.pgh.pa.us>
Re: alter enum add value if not exists Bruce Momjian <bruce@momjian.us>
Re: alter enum add value if not exists Tom Lane <tgl@sss.pgh.pa.us>
Re: alter enum add value if not exists Andrew Dunstan <andrew@dunslane.net>
Hannu Krosing  writes:
> On 09/22/2012 11:49 PM, Andrew Dunstan wrote:
>> Not really, I guess we should for the sake of consistency, although TBH
>> I find it just useless noise and rather wish we hadn't started the 
>> trend when we did the first DROP IF NOT EXISTS stuff.

> Time for a GUC
> existence_notice = none | exists | not_exists | all

Not another one :-( ... isn't client_min_messages good enough?

We sort of had this discussion before w.r.t. the notices about creating
primary key indexes etc.  I wonder whether we should make a formal
effort to split NOTICE message level into, say, NOTICE and NOVICE
levels, where the latter contains all the "training wheels" stuff that
experienced users would really rather not see.  Or maybe just redefine
NOTICE as meaning novice-oriented messages, and push anything that
doesn't seem to fit that categorization into another existing message
level?
		regards, tom lane


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ