text(bool) not defined - Mailing list pgsql-hackers

From Dave Blasby
Subject text(bool) not defined
Date
Msg-id 3BC35FF2.94696C5F@refractions.net
Whole thread Raw
Responses Re: text(bool) not defined
List pgsql-hackers
I've noticed that text(bool) isnt a defined function (nor does
'true'::bool::text work). 

It would be great to have this defined.

Since "select 'false'::bool" gives 'f' and "select 'true'::bool" gives
't', perhaps text(bool) should return 't' or 'f'.

A case can, also, be given for returning 'true' or 'false'.

dave
ps. 7.1.2 on solaris
pps. "select boolin(true)" causes the backend to core.


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: Problem with cyrilic
Next
From: Peter Eisentraut
Date:
Subject: Re: text(bool) not defined