projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35af542
)
Remove obsolete tip about casting bool to int, per Taiki Yamaguchi.
author
Tom Lane
Mon, 21 Aug 2006 16:23:46 +0000
(16:23 +0000)
committer
Tom Lane
Mon, 21 Aug 2006 16:23:46 +0000
(16:23 +0000)
doc/src/sgml/datatype.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/datatype.sgml
b/doc/src/sgml/datatype.sgml
index c5ba6c4d97335ed9b8fe7832b6f3c0ead3edf160..68ff7afd039653c17b513341ccf574b0680018e4 100644
(file)
--- a/
doc/src/sgml/datatype.sgml
+++ b/
doc/src/sgml/datatype.sgml
@@
-1,4
+1,4
@@
-
+
Data Types
@@
-2294,19
+2294,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
- linkend="functions-conditional">.
-
-
-
boolean
uses 1 byte of storage.