mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-19 12:56:59 +08:00
Modify to reflect changes in boolean input behavior (rejects bad input
rather than assuming FALSE).
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
--
|
||||
-- boolean.source
|
||||
--
|
||||
-- $Header: /cvsroot/pgsql/src/test/regress/sql/boolean.sql,v 1.3 1997/05/09 03:26:43 scrappy Exp $
|
||||
-- $Header: /cvsroot/pgsql/src/test/regress/sql/boolean.sql,v 1.4 1997/10/25 06:02:33 thomas Exp $
|
||||
--
|
||||
|
||||
--
|
||||
@ -70,7 +70,10 @@ INSERT INTO BOOLTBL2 (f1) VALUES ('false'::bool);
|
||||
|
||||
INSERT INTO BOOLTBL2 (f1) VALUES ('False'::bool);
|
||||
|
||||
-- this evaluates to a false value
|
||||
INSERT INTO BOOLTBL2 (f1) VALUES ('FALSE'::bool);
|
||||
|
||||
-- this is now an invalid expression
|
||||
-- pre-v6.3 this evaluated to false - thomas 1997-10-23
|
||||
INSERT INTO BOOLTBL2 (f1)
|
||||
VALUES ('XXX'::bool);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user