Re: troubleshooting pointers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: troubleshooting pointers
Date
Msg-id 24276.1020986889@sss.pgh.pa.us
Whole thread Raw
In response to troubleshooting pointers  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
Joe Conway <mail@joeconway.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


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: www.pgaccess.org - the official story (the way I saw
Next
From: Joe Conway
Date:
Subject: Re: troubleshooting pointers