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.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to