Re: Persistent data per connection

From: "Guy Rouillier" <guyr(at)masergy(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Persistent data per connection
Date: 2005-03-26 04:11:00
Message-ID: CC1CF380F4D70844B01D45982E671B2348E752@mtxexch01.add0.masergy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Amiel wrote:
> (heck, all cases) , the audit triggers themselves (when an
> update/insert/delete takes place) have to look to see if a temp table
> exists to pull the user data from. It wont exist in tese cases, but
> the triggers dont know this.....

Can't you catch the undefined_table exception in your trigger functions,
then create the tables if they don't exist? We do that and it seems to
work fine.

--
Guy Rouillier

Browse pgsql-general by date

  From Date Subject
Next Message John DeSoi 2005-03-26 13:12:14 Re: help w/ a little naive brainstorming ...
Previous Message Michael Fuhr 2005-03-26 02:53:03 Re: TSearch2 FreeBSD