From: Werner Reisberger <wreis@datacomm.ch>
To: pgsql-sql@postgreSQL.org
Subject: triggers (refint)
Date: Sun, 21 Feb 1999 18:38:10 +0100
Message-ID: <19990221183810.C273@tribe.free.de> (raw)
Trying to use the function check_primary_key with the examples provided
in postresql 6.3.1 I am getting the error message
"fmgr_info: function 157189: cache lookup failed"
Apart from this problem I would like to extend the function of
check_foreign_key to delete the whole row instead of only the foreign_key.
I think it's possible to write a second trigger function which will delete
the whole row if the foreign_key field is null. Or do I need to customize
the refint source?
Werner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: wreis@datacomm.ch
Subject: Re: triggers (refint)
In-Reply-To: <19990221183810.C273@tribe.free.de>
References: <19990221183810.C273@tribe.free.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox