Re: [GENERAL] Count(*) throws error - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: [GENERAL] Count(*) throws error
Date
Msg-id 1184226796.4316.67.camel@ebony.site
Whole thread Raw
In response to Re: [GENERAL] Count(*) throws error  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] Count(*) throws error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, 2007-07-11 at 18:13 -0400, Tom Lane wrote:
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > Seems like we could be slightly more friendly without too much bother:
> > at least only substitute after the VALUES clause in INSERT.
> 
> Surely you jest.

No. There are a places where parameters clearly aren't allowed, so
making the substitutions in those places can easily be prevented. The
remainder of the problem is as hard as you think, but getting half way
there seems very easy.

--  Simon Riggs EnterpriseDB  http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: minor compiler warning on OpenBSD
Next
From: "Simon Riggs"
Date:
Subject: Re: 2PC-induced lockup