diff options
Diffstat (limited to 'src/test/regress/output/constraints.source')
| -rw-r--r-- | src/test/regress/output/constraints.source | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/output/constraints.source b/src/test/regress/output/constraints.source index 7a0e335509..ec1cc3b16a 100644 --- a/src/test/regress/output/constraints.source +++ b/src/test/regress/output/constraints.source @@ -45,12 +45,12 @@ SELECT '' AS four, * FROM DEFAULTEXPR_TBL; -- syntax errors -- test for extraneous comma CREATE TABLE error_tbl (i int DEFAULT (100, )); -ERROR: parser: parse error at or near "," at character 43 +ERROR: syntax error at or near "," at character 43 -- this will fail because gram.y uses b_expr not a_expr for defaults, -- to avoid a shift/reduce conflict that arises from NOT NULL being -- part of the column definition syntax: CREATE TABLE error_tbl (b1 bool DEFAULT 1 IN (1, 2)); -ERROR: parser: parse error at or near "IN" at character 43 +ERROR: syntax error at or near "IN" at character 43 -- this should work, however: CREATE TABLE error_tbl (b1 bool DEFAULT (1 IN (1, 2))); DROP TABLE error_tbl; |
