Re: the '::' cast doesn't work in the FROM clause

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: the '::' cast doesn't work in the FROM clause
Дата
Msg-id 4E5B5D1D02000025000407FF@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: the '::' cast doesn't work in the FROM clause  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-bugs
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> wrote:

> test=# select val from (select 'a' = 'a') as val;
>  val
> -----
>  (t)
> (1 row)

Also note the difference between a record and a scalar here.  I
forgot to write it to return val as a scalar, which seems to be what
you're after.  It should have been:

test=# select val from (select 'a' = 'a') as x(val);
 val
-----
 t
(1 row)

-Kevin

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: the '::' cast doesn't work in the FROM clause
Следующее
От: Tom Lane
Дата:
Сообщение: Re: the '::' cast doesn't work in the FROM clause