Re: troubleshooting pointers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: troubleshooting pointers
Date: 2002-05-09 23:28:09
Message-ID: 24276.1020986889@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Joe Conway <mail(at)joeconway(dot)com> writes:
> With the current SRF patch, in certain circumstances selecting from a
> VIEW produces "Buffer Leak" warnings, while selecting from the function
> itself does not. Also the VIEW returns only one of the two expected
> rows.

The buffer leak suggests failure to shut down a plan tree (ie, no
ExecutorEnd call). Probably related to not running the VIEW to
completion, but it's hard to guess at the underlying cause.

Do the plan trees (EXPLAIN display) look the same in both cases?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2002-05-09 23:42:36 Re: troubleshooting pointers
Previous Message Marc G. Fournier 2002-05-09 23:27:32 Re: www.pgaccess.org - the official story (the way I saw

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2002-05-09 23:42:36 Re: troubleshooting pointers
Previous Message Joe Conway 2002-05-09 20:32:57 Re: troubleshooting pointers