Re: Inconsistent behavior with unnamed columns - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Inconsistent behavior with unnamed columns
Date
Msg-id 5249E9B9.3060308@gmail.com
Whole thread Raw
In response to Inconsistent behavior with unnamed columns  (Moshe Jacobson <moshe@neadwerx.com>)
List 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 by date:

Previous
From: Moshe Jacobson
Date:
Subject: Inconsistent behavior with unnamed columns
Next
From: David Johnston
Date:
Subject: Re: Inconsistent behavior with unnamed columns