Re: Triggers on system tables

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Triggers on system tables
Date: 2004-02-12 05:02:31
Message-ID: Pine.LNX.4.58.0402121601270.26608@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 12 Feb 2004, Tom Lane wrote:

> Gavin Sherry <swm(at)linuxworld(dot)com(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-02-12 05:40:46 Re: SET WITHOUT OIDS and VACUUM badness?
Previous Message Tom Lane 2004-02-12 05:00:25 Re: Triggers on system tables