Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Removing typename from A_Const (was: Emptyarrays with ARRAY[])

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Brendan Jurd <direvus(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Removing typename from A_Const (was: Emptyarrays with ARRAY[])
Date: 2008-04-28 21:01:25
Message-ID: 20080428210125.GI5761@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Tom Lane escribió:
> Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2008-04-28 21:07:28
Subject: Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])
Previous:From: PFCDate: 2008-04-28 21:00:18
Subject: Re: Protection from SQL injection

pgsql-patches by date

Next:From: Tom LaneDate: 2008-04-28 21:07:28
Subject: Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])
Previous:From: Tom LaneDate: 2008-04-28 20:57:11
Subject: Re: [HACKERS] Removing typename from A_Const (was: Empty arrays with ARRAY[])

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group