Re: [GENERAL] Count(*) throws error

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Count(*) throws error
Date: 2007-07-12 07:53:16
Message-ID: 1184226796.4316.67.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, 2007-07-11 at 18:13 -0400, Tom Lane wrote:
> "Simon Riggs" <simon(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2007-07-12 08:57:40 Re: [GENERAL] Count(*) throws error
Previous Message Hannes Dorbath 2007-07-12 07:04:38 Re: Postgres 8.2 binary for ubuntu 6.10?

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-07-12 08:19:09 Re: 2PC-induced lockup
Previous Message Stefan Kaltenbrunner 2007-07-12 07:06:53 Re: minor compiler warning on OpenBSD