Re: Small problem with PlaceHolderVar mechanism - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Small problem with PlaceHolderVar mechanism
Date
Msg-id 5064.1240935652@sss.pgh.pa.us
Whole thread Raw
In response to Re: Small problem with PlaceHolderVar mechanism  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Greg Stark wrote:
>> On Tue, Apr 28, 2009 at 4:41 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Another place where planner regression tests might've helped :-(
>> 
>> I would suggest we start gathering up such tests in an sql file now
>> and worry about how to compare the output later.

> At the very least, we could run them just make sure that they run with
> no weird errors.

Well, the cases where you get a weird error more often than not do get
memorialized in regular regression tests.  The hard thing to test for
(in our current framework) is where you get the right answer but the
plan is stupider than it's supposed to be.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Small problem with PlaceHolderVar mechanism
Next
From: Tom Lane
Date:
Subject: Re: idea: global temp tables