Re: Inconsistent behavior with unnamed columns

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Inconsistent behavior with unnamed columns
Дата
Msg-id 5249E9B9.3060308@gmail.com
обсуждение исходный текст
Ответ на Inconsistent behavior with unnamed columns  (Moshe Jacobson <moshe@neadwerx.com>)
Список pgsql-general
On 09/30/2013 01:48 PM, Moshe Jacobson wrote:
> Why does bool get special treatment?
>
> |postgres# select 'abc', 1, false;
>   ?column? | ?column? | bool
> ----------+----------+------
>   abc      |        1 | f
> (1 row)|


Not always:

test=> select 'abc'::text, 1::int, 'f';
  text | int4 | ?column?
------+------+----------
  abc  |    1 | f





>
> Moshe Jacobson
> Nead Werx, Inc. | Manager of Systems Engineering
> 2323 Cumberland Parkway, Suite 201 | Atlanta, GA 30339
> moshe@neadwerx.com <mailto:moshe@neadwerx.com> | www.neadwerx.com
> <http://www.neadwerx.com/>
>
> “Quality is not an act, it is a habit.” — Aristotle
>


--
Adrian Klaver
adrian.klaver@gmail.com


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

Предыдущее
От: Moshe Jacobson
Дата:
Сообщение: Inconsistent behavior with unnamed columns
Следующее
От: David Johnston
Дата:
Сообщение: Re: Inconsistent behavior with unnamed columns