diff options
author | Michael Meskes <meskes@postgresql.org> | 2006-10-23 08:00:48 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2006-10-23 08:00:48 +0000 |
commit | a09f9ff649f7ef68aaed914e881b0c746ed40aca (patch) | |
tree | fa173bcf5b29016ba400a4505855900875144703 /src | |
parent | 954c1813ac042f7d6a2cd32d8dbf18153da91fca (diff) | |
download | postgresql-a09f9ff649f7ef68aaed914e881b0c746ed40aca.tar.gz postgresql-a09f9ff649f7ef68aaed914e881b0c746ed40aca.zip |
Small parser sync
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/ecpg/preproc/preproc.y | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index 47515ead598..a70b3ed7763 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.338 2006/09/08 13:32:26 meskes Exp $ */ +/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.339 2006/10/23 08:00:48 meskes Exp $ */ /* Copyright comment */ %{ @@ -1323,7 +1323,7 @@ alter_table_cmd: /* ALTER TABLE <name> ALTER INHERITS ADD <parent> */ | INHERIT qualified_name { $$ = cat2_str(make_str("inherit"), $2); } -/* ALTER TABLE <name> ALTER INHERITS DROP <parent> */ +/* ALTER TABLE <name> NO INHERITS <parent> */ | NO INHERIT qualified_name { $$ = cat2_str(make_str("no inherit"), $3); } | alter_rel_cmd @@ -3940,6 +3940,8 @@ a_expr: c_expr { $$ = cat2_str($1, make_str("notnull")); } | a_expr IS NOT NULL_P { $$ = cat2_str($1, make_str("is not null")); } + | row OVERLAPS row + { $$ = cat_str(3, $1, make_str("overlaps"), $3); } /* IS TRUE, IS FALSE, etc used to be function calls * but let's make them expressions to allow the optimizer * a chance to eliminate them if a_expr is a constant string. |