Re: review: CHECK FUNCTION statement
| От | Albe Laurenz |
|---|---|
| Тема | Re: review: CHECK FUNCTION statement |
| Дата | |
| Msg-id | D960CB61B694CF459DCFB4B0128514C2049FCE7B@exadv11.host.magwien.gv.at обсуждение исходный текст |
| Ответ на | patch: CHECK FUNCTION statement (Pavel Stehule <pavel.stehule@gmail.com>) |
| Ответы |
Re: review: CHECK FUNCTION statement
|
| Список | pgsql-hackers |
Pavel Stehule wrote:
>> My attempt at a syntax that could also cover Peter's wish for multiple
>> checker functions:
>>
>> CHECK FUNCTION { func(args) | ALL [IN SCHEMA schema] [FOR ROLE user] }
>> [ USING check_function ] OPTIONS (optname optarg [, ...])
> check_function should be related to one language, so you have to
> specify language if you would to specify check_function (if we would
> to have more check functions for one language).
Right, I forgot LANGUAGE:
CHECK FUNCTION { func(args) | ALL IN LANGUAGE pl [IN SCHEMA schema] [FOR ROLE user] }[ USING check_function ] OPTIONS
(optnameoptarg [, ...])
If func(args) is given, the language can be inferred.
Yours,
Laurenz Albe
В списке pgsql-hackers по дате отправления: