Re: Updated CREATE FUNCTION syntax

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Updated CREATE FUNCTION syntax
Дата
Msg-id 11392.1021735355@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Updated CREATE FUNCTION syntax  ("Joel Burton" <joel@joelburton.com>)
Ответы Re: Updated CREATE FUNCTION syntax  ("Joel Burton" <joel@joelburton.com>)
Список pgsql-hackers
"Joel Burton" <joel@joelburton.com> writes:
> Given that 98% of my function defining is done is psql, this would be
> fine for me and solve my frustrations. It wouldn't help people that
> build functions in scripting languages or non-psql environments,
> however, but I don't know how common this is.

True, but I'm thinking that other development environments could provide
equivalent features.  (I seem to recall that pgAdmin already does, for
example.)

ISTM the reason we've not addressed this for so long is that no one
could think of a reasonable way to solve it on the backend side.
Maybe we just have to shift our focus.

Another point worth considering is that because psql has its own
smarts about locating query boundaries, it'd be very difficult to
build a function-definition mode without making psql changes, anyway.
        regards, tom lane


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

Предыдущее
От: "Joel Burton"
Дата:
Сообщение: Re: Updated CREATE FUNCTION syntax
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Sequence privileges