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

Re: DUPS in tables columns ERROR: column ". . . " does not exist

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Albretch Mueller <lbrtchx(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: DUPS in tables columns ERROR: column ". . . " does not exist
Date: 2008-08-30 17:39:15
Message-ID: 20080830173915.GB11907@svana.org (view raw or flat)
Thread:
Lists: pgsql-general
On Sat, Aug 30, 2008 at 01:36:25PM -0400, Albretch Mueller wrote:
> > The system is smart enough to only do the count() once.
> ~
>  But not smart enough to make a variable you declare point to that
> internal variable so that things are clearer/ easier ;-)

The SQL standard has pretty clear rules about what variables can be
referenced from where, and this is one of those places (the rationale
is probably in there too).

Have a nice day
-- 
Martijn van Oosterhout   <kleptog(at)svana(dot)org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while 
> boarding. Thank you for flying nlogn airlines.

In response to

pgsql-general by date

Next:From: ChristopheDate: 2008-08-30 17:40:44
Subject: Re: ERROR: relation . . . does not exist
Previous:From: Adrian KlaverDate: 2008-08-30 17:38:34
Subject: Re: ERROR: relation . . . does not exist

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