Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> OK, patch attached.
1. A comment would help, something like "Assert we released all buffer pins".
2. AtProcExit_LocalBuffers should be redone the same way, for
consistency (it likely won't make any performance difference).
Note the comment for AtProcExit_LocalBuffers, too; that probably
needs to be changed along the lines of "If we missed any, and
assertions aren't enabled, we'll fail later in DropRelFileNodeBuffers
while trying to drop the temp rels".
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Robert Haas||Date: 2010-11-24 18:07:03|
|Subject: Re: final patch - plpgsql: for-in-array|
|Previous:||From: Robert Haas||Date: 2010-11-24 18:01:32|
|Subject: Re: profiling connection overhead|