]> granicus.if.org Git - postgresql/commit
Allow leading and trailing whitespace in the input to the boolean
authorNeil Conway <neilc@samurai.com>
Fri, 1 Jun 2007 23:40:19 +0000 (23:40 +0000)
committerNeil Conway <neilc@samurai.com>
Fri, 1 Jun 2007 23:40:19 +0000 (23:40 +0000)
commitf086be3d39ce003532ce818347354fe8d6efe8eb
tree5e1c727cf92b4c410b2a75a54663acf6a5bb90cf
parentbd0a260928971feec484a22f0b86e5d1936c974f
Allow leading and trailing whitespace in the input to the boolean
type. Also, add explicit casts between boolean and text/varchar. Both
of these changes are for conformance with SQL:2003.

Update the regression tests, bump the catversion.
doc/src/sgml/datatype.sgml
src/backend/utils/adt/bool.c
src/include/catalog/catversion.h
src/include/catalog/pg_cast.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h
src/test/regress/expected/boolean.out
src/test/regress/sql/boolean.sql