Re: Suggestions please: names for function cachabilityattributes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Suggestions please: names for function cachabilityattributes
Дата
Msg-id 15689.1018712074@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Suggestions please: names for function cachabilityattributes  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Basically I'd like to write

>     CREATE FUNCTION name (args, ...) RETURNS type
>       AS '...'
>       LANGUAGE foo
>       STATIC
>       IMPLICIT CAST

> (where everything after RETURNS can be in random order).

No strong objection here; but you'll still have to accept the old syntax
for backwards compatibility with existing dump scripts.  I also worry
that this will end up forcing us to reserve a lot more keywords.  Not so
much for CREATE FUNCTION, but in CREATE OPERATOR, CREATE DOMAIN and
friends I do not think you'll be able to do this without making the
keywords reserved (else how do you tell 'em from parts of typenames
and expressions?).

Given that it's not gonna be SQL-spec anyway, I'm not entirely sure
I see the point of changing.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: DROP COLUMN (was RFC: Restructuring pg_aggregate)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 7.3 schedule