Re: Triggers on system tables - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: Triggers on system tables
Date
Msg-id Pine.LNX.4.58.0402121601270.26608@linuxworld.com.au
Whole thread Raw
In response to Re: Triggers on system tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Triggers on system tables
List pgsql-hackers
On Thu, 12 Feb 2004, Tom Lane wrote:

> Gavin Sherry <swm@linuxworld.com.au> writes:
> > Do you have an example at hand of a system function which will face this
> > problem so that I can see what is involved?
>
> Mmm ... try CREATE TABLE with foreign keys.  IIRC the basic table is
> created and then we do ALTER TABLE ADD FOREIGN KEY.

Ahh, of course. I misunderstood you. I was taking system 'function'
literally. CREATE TABLE by itself is bad enough. We do ALTER TABLE ADD
TOAST outside of DefineRelation().

Gavin


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Triggers on system tables
Next
From: Tom Lane
Date:
Subject: Re: SET WITHOUT OIDS and VACUUM badness?