diff options
author | Michael Meskes <meskes@postgresql.org> | 2001-09-25 18:37:17 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2001-09-25 18:37:17 +0000 |
commit | 16b9b75876ce03a1e9f5deb00142a05ce49a388c (patch) | |
tree | 7cb857c27aa85c1c760ee5bdd0359a2d6939e2d1 /src/interfaces/ecpg/preproc/preproc.y | |
parent | 1b20315008267c3b6c946c87cff5f9b0bcd1c44d (diff) | |
download | postgresql-16b9b75876ce03a1e9f5deb00142a05ce49a388c.tar.gz postgresql-16b9b75876ce03a1e9f5deb00142a05ce49a388c.zip |
- Synced preproc.y with gram.y.
- Changed locale handling.
Diffstat (limited to 'src/interfaces/ecpg/preproc/preproc.y')
-rw-r--r-- | src/interfaces/ecpg/preproc/preproc.y | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/preproc/preproc.y b/src/interfaces/ecpg/preproc/preproc.y index b4939adabf2..31a1cb42d4d 100644 --- a/src/interfaces/ecpg/preproc/preproc.y +++ b/src/interfaces/ecpg/preproc/preproc.y @@ -2333,6 +2333,10 @@ ExplainStmt: EXPLAIN opt_verbose OptimizableStmt { $$ = cat_str(3, make_str("explain"), $2, $3); } + | EXPLAIN analyze_keyword opt_verbose OptimizableStmt + { + $$ = cat_str(4, make_str("explain"), $2, $3, $4); + } ; @@ -2664,7 +2668,7 @@ OptUseOp: USING all_Op { $$ = cat2_str(make_str("using"), $2); } | /*EMPTY*/ { $$ = EMPTY; } ; -select_limit: LIMIT select_limit_value ',' select_offset_value +select_limit: LIMIT select_offset_value ',' select_limit_value { $$ = cat_str(4, make_str("limit"), $2, make_str(","), $4); } | LIMIT select_limit_value OFFSET select_offset_value { $$ = cat_str(4, make_str("limit"), $2, make_str("offset"), $4); } |