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

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: DUPS in tables columns ERROR: column ". . . " does not exist
Дата
Msg-id 20080830173915.GB11907@svana.org
обсуждение исходный текст
Ответ на Re: DUPS in tables columns ERROR: column ". . . " does not exist  ("Albretch Mueller" <lbrtchx@gmail.com>)
Список 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@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: ERROR: relation . . . does not exist
Следующее
От: Christophe
Дата:
Сообщение: Re: ERROR: relation . . . does not exist