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

From Alvaro Herrera
Subject Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])
Date
Msg-id 20080428210125.GI5761@alvh.no-ip.org
Whole thread Raw
In response to Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane escribió:
> 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.

Aha.  OK, I'll commit the original patch and let you deal with the rest
of it :-)

> 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.

Oops, sorry, I had intended to revert that part and forgot.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])