From: Tom Lane Date: Mon, 21 Aug 2006 16:24:02 +0000 (+0000) Subject: Remove obsolete tip about casting bool to int, per Taiki Yamaguchi. X-Git-Tag: REL8_1_5~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=574878f11093959efb1709ce16db9c4daea9403f;p=thirdparty%2Fpostgresql.git Remove obsolete tip about casting bool to int, per Taiki Yamaguchi. --- diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index ab9bb4ce2df..8e353aaf702 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1,5 +1,5 @@ @@ -2296,19 +2296,6 @@ SELECT * FROM test1 WHERE a; t and f. - - - Values of the boolean type cannot be cast directly - to other types (e.g., CAST - (boolval AS integer) does - not work). This can be accomplished using the - CASE expression: CASE WHEN - boolval THEN 'value if true' ELSE - 'value if false' END. See . - - - boolean uses 1 byte of storage.