Re: [PATCHES] Removing typename from A_Const (was: Empty arrays with ARRAY[]) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Removing typename from A_Const (was: Empty arrays with ARRAY[])
Date
Msg-id 16856.1209416231@sss.pgh.pa.us
Whole thread Raw
In response to Removing typename from A_Const (was: Empty arrays with ARRAY[])  ("Brendan Jurd" <direvus@gmail.com>)
Responses Re: [PATCHES] Removing typename from A_Const (was: Empty arrays with ARRAY[])
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> I came up with the attached patch.

I wasn't envisioning anything anywhere near this invasive.  We only
need locations on constants in a few contexts, I think.

BTW, you broke _equalAConst() ... it was a bad idea anyway to recast
it on the assumption that there would never again be more than one
field.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [PATCHES] Removing typename from A_Const (was: Empty arrays with ARRAY[])
Next
From: Alvaro Herrera
Date:
Subject: Re: [PATCHES] Removing typename from A_Const (was: Empty arrays with ARRAY[])