Commit 8dded696 authored by Bruce Momjian's avatar Bruce Momjian

Now I had them reversed. Wow that syntax is error-prone.

parent caafc1c5
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.269 2001/10/23 02:47:14 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.270 2001/10/23 02:50:41 momjian Exp $
* *
* HISTORY * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -3655,7 +3655,7 @@ select_limit: LIMIT select_limit_value OFFSET select_offset_value ...@@ -3655,7 +3655,7 @@ select_limit: LIMIT select_limit_value OFFSET select_offset_value
{ $$ = makeList2(NULL, $2); } { $$ = makeList2(NULL, $2); }
| OFFSET select_offset_value | OFFSET select_offset_value
{ $$ = makeList2($2, NULL); } { $$ = makeList2($2, NULL); }
| LIMIT select_offset_value ',' select_limit_value | LIMIT select_limit_value ',' select_offset_value
{ $$ = makeList2($4, $2); } { $$ = makeList2($4, $2); }
/* enable this in 7.3, bjm 2001-10-22 /* enable this in 7.3, bjm 2001-10-22
{ elog(ERROR, "LIMIT #,# syntax no longer supported.\n\tUse separate LIMIT and OFFSET clauses."); } { elog(ERROR, "LIMIT #,# syntax no longer supported.\n\tUse separate LIMIT and OFFSET clauses."); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment