Re: RelationFlushRelation() or RelationClearRelation()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RelationFlushRelation() or RelationClearRelation()
Дата
Msg-id 3476.1005109038@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RelationFlushRelation() or RelationClearRelation()  (Brent Verner <brent@rcfile.org>)
Ответы Re: RelationFlushRelation() or RelationClearRelation()  (Brent Verner <brent@rcfile.org>)
Список pgsql-hackers
Brent Verner <brent@rcfile.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Storage Location Patch Proposal for V7.3
Следующее
От: Brent Verner
Дата:
Сообщение: Re: RelationFlushRelation() or RelationClearRelation()