Re: RelationFlushRelation() or RelationClearRelation()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brent Verner <brent(at)rcfile(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: RelationFlushRelation() or RelationClearRelation()
Date: 2001-11-07 04:57:18
Message-ID: 3476.1005109038@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Brent Verner <brent(at)rcfile(dot)org> writes:
> After running the above and without (re)starting a new backend yields
> the following error. After getting a new backend, the behavior is as
> desired.

> brent=# insert into child values(1);
> ERROR: constraint <unnamed>: table parent does not have an attribute id

I wonder whether you're looking in the right place. The RI trigger code
caches query plans --- could that caching be the source of the problem?
(See backend/utils/adt/ri_triggers.c)

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeremy Wohl 2001-11-07 05:03:59 MD5-based passwords
Previous Message Tom Lane 2001-11-07 04:49:56 Re: Storage Location Patch Proposal for V7.3