Re: [HACKERS] refcnt leak ?

2000-11-09 Thread Tom Lane
"Hiroshi Inoue" <[EMAIL PROTECTED]> writes: > Oh no,my point isn't on this line but on the line > estate->es_result_relation_info = NULL; Oh, I see --- this is mistakenly assuming that es_result_relation_info *always* points at one of the Append's relations. So there are actually two rel-r

RE: [HACKERS] refcnt leak ?

2000-11-07 Thread Hiroshi Inoue
> -Original Message- > From: Tom Lane [mailto:[EMAIL PROTECTED]] > > Hiroshi Inoue <[EMAIL PROTECTED]> writes: > > While examining recursive use of catalog cache,I found > > a refcnt leak of relations. > > After further investigation,I found that the following seems > > to be the cause. >

Re: [HACKERS] refcnt leak ?

2000-11-07 Thread Karel Zak
On Tue, 7 Nov 2000, Tom Lane wrote: > Hiroshi Inoue <[EMAIL PROTECTED]> writes: > > While examining recursive use of catalog cache,I found > > a refcnt leak of relations. > > After further investigation,I found that the following seems > > to be the cause. > > > [ in EndAppend() in nodeAppend.c

Re: [HACKERS] refcnt leak ?

2000-11-07 Thread Tom Lane
Hiroshi Inoue <[EMAIL PROTECTED]> writes: > While examining recursive use of catalog cache,I found > a refcnt leak of relations. > After further investigation,I found that the following seems > to be the cause. > [ in EndAppend() in nodeAppend.c ] appendstate-> as_result_relation_info_list = NIL

[HACKERS] refcnt leak ?

2000-11-07 Thread Hiroshi Inoue
Hi While examining recursive use of catalog cache,I found a refcnt leak of relations. After further investigation,I found that the following seems to be the cause. [ in EndAppend() in nodeAppend.c ] appendstate->as_result_relation_info_list = NIL; /* * This next step is critical to prevent En