Re: Note on scalar subquery syntax

Поиск
Список
Период
Сортировка
От Kevin Murphy
Тема Re: Note on scalar subquery syntax
Дата
Msg-id 42F10FC2.6090801@genome.chop.edu
обсуждение исходный текст
Ответ на Re: Note on scalar subquery syntax  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Martijn van Oosterhout wrote:

>On Wed, Aug 03, 2005 at 09:40:26AM -0400, Kevin Murphy wrote:
>
>
>>You have to wrap a scalar subquery in its own parentheses even where you
>>might think it to be unnecessary, such as when the subquery is the sole
>>argument to a function.
>>
>>
>
>It first guess I imagine it is because the syntax becomes ambiguous,
>expecially if you have multiple arguments to the function.
>
>
Thanks, Martijn.  Yes, I don't consider it to be entirely unreasonable;
it was just surprising and strange-looking to me.

-Kevin


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

Предыдущее
От: Kevin Murphy
Дата:
Сообщение: Re: Note on scalar subquery syntax
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Note on scalar subquery syntax