Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e1ce520c
Commit
e1ce520c
authored
Oct 23, 2001
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Back out LIMIT #,# removal and mark it as to-be-removed in 7.3.
parent
087771ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
HISTORY
HISTORY
+3
-3
src/backend/parser/gram.y
src/backend/parser/gram.y
+5
-1
No files found.
HISTORY
View file @
e1ce520c
...
@@ -37,9 +37,9 @@ several languages.
...
@@ -37,9 +37,9 @@ several languages.
Migration to 7.2
Migration to 7.2
A dump/restore using pg_dump is required for those wishing to migrate
A dump/restore using pg_dump is required for those wishing to migrate
data from any previous release.
One significant change is that
data from any previous release.
The SELECT ... LIMIT 10,20 syntax will
the SELECT ... LIMIT 10,20 syntax is no longer supported. You must
be removed in 7.3. You should change your queries to use LIMIT 10
now use LIMIT 10 OFFSET 20 to accomplish the same thing
.
OFFSET 20
.
...
...
src/backend/parser/gram.y
View file @
e1ce520c
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.26
7 2001/10/20 16:51:02
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.26
8 2001/10/23 02:45:37
momjian Exp $
*
*
* HISTORY
* HISTORY
* AUTHOR DATE MAJOR EVENT
* AUTHOR DATE MAJOR EVENT
...
@@ -3656,7 +3656,11 @@ select_limit: LIMIT select_limit_value OFFSET select_offset_value
...
@@ -3656,7 +3656,11 @@ select_limit: LIMIT select_limit_value OFFSET select_offset_value
| OFFSET select_offset_value
| OFFSET select_offset_value
{ $$ = makeList2($2, NULL); }
{ $$ = makeList2($2, NULL); }
| LIMIT select_offset_value ',' select_limit_value
| 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."); }
{ elog(ERROR, "LIMIT #,# syntax no longer supported.\n\tUse separate LIMIT and OFFSET clauses."); }
#endif
;
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment