Re: BUG REPORT: Unable to cast boolean::smallint

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: James Pittman <j(dot)pittman(at)travelaudience(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, Norbert Buchmüller <n(dot)buchmueller(at)travelaudience(dot)com>
Subject: Re: BUG REPORT: Unable to cast boolean::smallint
Date: 2014-11-05 15:13:42
Message-ID: 2537.1415200422@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

James Pittman <j(dot)pittman(at)travelaudience(dot)com> writes:
> It does not seem possible to be able to cast a boolean to a smallint.

Well, there are also not direct casts provided from boolean to bigint,
numeric, real, or double precision ;-). I'm not terribly excited about
this.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G Johnston 2014-11-05 16:31:02 Re: BUG REPORT: Unable to cast boolean::smallint
Previous Message James Pittman 2014-11-05 15:13:29 BUG REPORT: GiST - default operator type for boolean