diff options
| author | Bruce Momjian <bruce@momjian.us> | 1998-10-22 13:52:24 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1998-10-22 13:52:24 +0000 |
| commit | 002657f7ed0ff365cfd5079f955badd2a30441f6 (patch) | |
| tree | c13d6a9e9c9ecabf8d31e00cf4ffdd83f84694c8 /src/include/nodes | |
| parent | ca2995be7bf63e394d3ac80327cf5f69a1474745 (diff) | |
| download | postgresql-002657f7ed0ff365cfd5079f955badd2a30441f6.tar.gz | |
Add LIMIT syntax for Jan.
Diffstat (limited to 'src/include/nodes')
| -rw-r--r-- | src/include/nodes/parsenodes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 0608c3101f..afe6fe43f7 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.60 1998/10/02 16:23:07 momjian Exp $ + * $Id: parsenodes.h,v 1.61 1998/10/22 13:52:24 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -60,6 +60,8 @@ typedef struct Query List *unionClause; /* unions are linked under the previous * query */ + Node *limitOffset; /* # of result tuples to skip */ + Node *limitCount; /* # of result tuples to return */ /* internal to planner */ List *base_rel_list; /* base relation list */ @@ -639,6 +641,8 @@ typedef struct SelectStmt char *portalname; /* the portal (cursor) to create */ bool binary; /* a binary (internal) portal? */ bool unionall; /* union without unique sort */ + Node *limitOffset; /* # of result tuples to skip */ + Node *limitCount; /* # of result tuples to return */ } SelectStmt; |
