On 03/10/2015 05:41 AM, Stephen Frost wrote:
> * Andrzej Pilacik (cypisek77(at)gmail(dot)com) wrote:
>> Can anyone explain how the FK constraint function works? Is it executed as
>> the owner of the object. That is the only thing that would make sense for
>> me.
>
> Yes.
This brought back a memory. For the hows and whys see this thread :
http://www.postgresql.org/message-id/4D6BB33F.9010704@lupomesky.cz
>
> Thanks,
>
> Stephen
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com