Re: plperl strict mode

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: plperl strict mode
Дата
Msg-id 20050524161515.GF8743@surnet.cl
обсуждение исходный текст
Ответ на Re: plperl strict mode  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: plperl strict mode
Список pgsql-patches
On Tue, May 24, 2005 at 11:53:45AM -0400, Andrew Dunstan wrote:

> Alvaro Herrera wrote:
>
> >On Sat, May 21, 2005 at 04:04:36PM -0400, Andrew Dunstan wrote:
> >
> >Hmm, is there a way to have a validator function and have the strict
> >check at function creation too?  I know these things are reported with
> >perl -c, not sure if they can be reached with the C interface.
>
> Maybe I have missed it, but I don't see an exposed interface that is
> called when we create a function, only one to set up the interpreter and
> one where we call the function (which compiles it if it isn't already
> compiled).

Yes, you can register a function as "validator" during language
creation.  AFAIR there are no validator functions except SQL and
plpgsql, so you would have to create one for plperl ...

--
Alvaro Herrera (<alvherre[a]surnet.cl>)

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: plperl strict mode
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: [PATCH] pg_autovacuum commandline password hiding.