File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/interfaces/ecpg/preproc Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
- /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.338 2006/09/08 13:32:26 meskes Exp $ */
1
+ /* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/preproc.y,v 1.339 2006/10/23 08:00:48 meskes Exp $ */
2
2
3
3
/* Copyright comment */
4
4
%{
@@ -1323,7 +1323,7 @@ alter_table_cmd:
1323
1323
/* ALTER TABLE <name> ALTER INHERITS ADD <parent> */
1324
1324
| INHERIT qualified_name
1325
1325
{ $$ = cat2_str(make_str(" inherit" ), $2 ); }
1326
- /* ALTER TABLE <name> ALTER INHERITS DROP <parent> */
1326
+ /* ALTER TABLE <name> NO INHERITS <parent> */
1327
1327
| NO INHERIT qualified_name
1328
1328
{ $$ = cat2_str(make_str(" no inherit" ), $3 ); }
1329
1329
| alter_rel_cmd
@@ -3940,6 +3940,8 @@ a_expr: c_expr
3940
3940
{ $$ = cat2_str($1 , make_str(" notnull" )); }
3941
3941
| a_expr IS NOT NULL_P
3942
3942
{ $$ = cat2_str($1 , make_str(" is not null" )); }
3943
+ | row OVERLAPS row
3944
+ { $$ = cat_str(3 , $1 , make_str(" overlaps" ), $3 ); }
3943
3945
/* IS TRUE, IS FALSE, etc used to be function calls
3944
3946
* but let's make them expressions to allow the optimizer
3945
3947
* a chance to eliminate them if a_expr is a constant string.
You can’t perform that action at this time.
0 commit comments