Garo Hussenjian wrote:
> Is there a way to always return booleans as 1/0 instead of t/f, without
> using a CASE statement...
How do you feel about a plpgsql function that does it:
SELECT print01(boolcol) FROM ...
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073