File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1111 *
1212 *
1313 * IDENTIFICATION
14- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.276 2001/12/09 04:39:39 thomas Exp $
14+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.277 2002/02/18 06:49:20 momjian Exp $
1515 *
1616 * HISTORY
1717 * AUTHOR DATE MAJOR EVENT
@@ -3669,11 +3669,9 @@ select_limit: LIMIT select_limit_value OFFSET select_offset_value
36693669 { $$ = makeList2(NULL , $2 ); }
36703670 | OFFSET select_offset_value
36713671 { $$ = makeList2($2 , NULL ); }
3672- | LIMIT select_limit_value ' ,' select_offset_value
3673- { $$ = makeList2($4 , $2 ); }
3674- /* enable this in 7.3, bjm 2001-10-22
3675- { elog(ERROR, "LIMIT #,# syntax no longer supported.\n\tUse separate LIMIT and OFFSET clauses."); }
3676- */
3672+ | LIMIT select_limit_value ' ,' select_offset_value
3673+ /* Disabled because it was too confusing, bjm 2002-02-18 */
3674+ { elog(ERROR, " LIMIT #,# syntax not supported.\n\t Use separate LIMIT and OFFSET clauses." ); }
36773675 ;
36783676
36793677
You can’t perform that action at this time.
0 commit comments