*
*
* 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
* AUTHOR DATE MAJOR EVENT
{ $$ = makeList2(NULL, $2); }
| OFFSET select_offset_value
{ $$ = makeList2($2, NULL); }
- | LIMIT select_offset_value ',' select_limit_value
+ | LIMIT select_limit_value ',' select_offset_value
{ $$ = makeList2($4, $2); }
/* enable this in 7.3, bjm 2001-10-22
{ elog(ERROR, "LIMIT #,# syntax no longer supported.\n\tUse separate LIMIT and OFFSET clauses."); }