Re: review: CHECK FUNCTION statement - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: review: CHECK FUNCTION statement
Date
Msg-id CAFj8pRBo_dChNkV3EC1zvwsb=MtooVHVL47ZxEt=J9=8xOA5ig@mail.gmail.com
Whole thread Raw
In response to Re: review: CHECK FUNCTION statement  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: review: CHECK FUNCTION statement  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Hello

2012/3/1 Alvaro Herrera <alvherre@commandprompt.com>:
>
>
> Why does CollectCheckedFunctions skip trigger functions?  My only guess
> is that at one point the checker was not supposed to know how to check
> them, and a later version learned about it and this bit wasn't updated;
> but maybe there's another reason?

you cannot to check trigger function without assigned relation -
TupleDescription should be assigned to NEW and OLD variables.

Regards

Pavel



>
> --
> Álvaro Herrera <alvherre@commandprompt.com>
> The PostgreSQL Company - Command Prompt, Inc.
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Canceling ROLLBACK statement
Next
From: Pavel Stehule
Date:
Subject: Re: review: CHECK FUNCTION statement