{ $$ = makeList2(NULL, $2); }
| OFFSET select_offset_value
{ $$ = makeList2($2, NULL); }
- | 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."); }
- */
+ | LIMIT select_limit_value ',' select_offset_value
+ /* Disabled because it was too confusing, bjm 2002-02-18 */
+ { elog(ERROR, "LIMIT #,# syntax not supported.\n\tUse separate LIMIT and OFFSET clauses."); }
;