Re: [HACKERS] Language-specific initialization actions

2002-05-20 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > In ProcedureCreate() (backend/catalog/pg_proc.c) there are special cases > for the built-in languages that check whether the to-be-created function > has a valid body. ISTM that we could extend that for user-defined > functions, as follows. > When c

[HACKERS] Language-specific initialization actions

2002-05-20 Thread Peter Eisentraut
In ProcedureCreate() (backend/catalog/pg_proc.c) there are special cases for the built-in languages that check whether the to-be-created function has a valid body. ISTM that we could extend that for user-defined functions, as follows. When creating a language, the user can optionally register a