By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,177 Members | 976 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,177 IT Pros & Developers. It's quick & easy.

Boolean

P: n/a
Postgres returns me 't' or 'f' from boolean field

How to change that it returns me 'true' or 'false'

replace(its, 'f', 'false') AS its

doesn't work

Bambero

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
http://www.postgresql.org/docs/7.4/s...e-boolean.html

CASE WHEN its THEN 'true' ELSE 'false' END

-tfo

On Oct 14, 2004, at 3:43 PM, Bambero wrote:
Postgres returns me 't' or 'f' from boolean field

How to change that it returns me 'true' or 'false'

replace(its, 'f', 'false') AS its

doesn't work

Bambero

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

http://archives.postgresql.org

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.