Re: pgsql: Allow the syntax CREATE TYPE foo, with no parameters, to permit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Allow the syntax CREATE TYPE foo, with no parameters, to permit
Дата
Msg-id 7318.1141195971@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Allow the syntax CREATE TYPE foo, with no  (Neil Conway <neilc@samurai.com>)
Ответы Re: pgsql: Allow the syntax CREATE TYPE foo, with no parameters, to permit  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-committers
Neil Conway <neilc@samurai.com> writes:
> On Tue, 2006-02-28 at 18:37 -0400, Tom Lane wrote:
>> Allow the syntax CREATE TYPE foo, with no parameters, to permit explicit
>> creation of a shell type.

> BTW, I noticed that it would be nice to make use of this syntax among
> for contrib/ --

No objection here, if you want to have at it.

> if nothing else to avoid the ugly "NOTICE" that is
> currently emitted in many cases describing the implicit creation of a
> shell type.

As things currently stand, you'll still get some annoying "NOTICE: foo
is a shell type" messages from a completely-kosher creation sequence.
Ideally we should get rid of these, but on the other hand random
references to an incomplete shell type are probably worth warning
about.  Any thoughts about the best approach here?

            regards, tom lane

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

Предыдущее
От: neilc@postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Attached is a patch that replaces a bunch of places where
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: pgsql: Allow the syntax CREATE TYPE foo, with no parameters, to permit