Re: BUG REPORT: Unable to cast boolean::smallint - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG REPORT: Unable to cast boolean::smallint
Date
Msg-id 2537.1415200422@sss.pgh.pa.us
Whole thread Raw
In response to BUG REPORT: Unable to cast boolean::smallint  (James Pittman <j.pittman@travelaudience.com>)
Responses Re: BUG REPORT: Unable to cast boolean::smallint  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-bugs
James Pittman <j.pittman@travelaudience.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

pgsql-bugs by date:

Previous
From: James Pittman
Date:
Subject: BUG REPORT: GiST - default operator type for boolean
Next
From: gauchard@laas.fr
Date:
Subject: BUG #11882: make HAVE_WORKING_LINK an option