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

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
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: Empty arrays with ARRAY[])
Date: 2008-04-28 20:57:11
Message-ID: 16856.1209416231@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
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.

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

In response to

Responses

pgsql-hackers by date

Next:From: PFCDate: 2008-04-28 21:00:18
Subject: Re: Protection from SQL injection
Previous:From: Alvaro HerreraDate: 2008-04-28 20:55:15
Subject: Re: [HACKERS] Removing typename from A_Const (was: Emptyarrays with ARRAY[])

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2008-04-28 21:01:25
Subject: Re: [HACKERS] Removing typename from A_Const (was: Emptyarrays with ARRAY[])
Previous:From: Alvaro HerreraDate: 2008-04-28 20:55:15
Subject: Re: [HACKERS] Removing typename from A_Const (was: Emptyarrays with ARRAY[])

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