1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

Back out LIMIT #,# removal and mark it as to-be-removed in 7.3.

This commit is contained in:
Bruce Momjian
2001-10-23 02:45:37 +00:00
parent 087771ae40
commit e1ce520c09
2 changed files with 8 additions and 4 deletions

View File

@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.267 2001/10/20 16:51:02 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.268 2001/10/23 02:45:37 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -3656,7 +3656,11 @@ select_limit: LIMIT select_limit_value OFFSET select_offset_value
| OFFSET select_offset_value
{ $$ = makeList2($2, NULL); }
| LIMIT select_offset_value ',' select_limit_value
{ $$ = makeList2($4, $2); }
#ifdef NOT_USED
/* enable this in 7.3, bjm 2001-10-22 */
{ elog(ERROR, "LIMIT #,# syntax no longer supported.\n\tUse separate LIMIT and OFFSET clauses."); }
#endif
;