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
1bf90bc7
Commit
1bf90bc7
authored
Sep 01, 1997
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add structure for subselects.
Add field to support "WITH TIME ZONE".
parent
570620c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
9 deletions
+24
-9
src/include/nodes/nodes.h
src/include/nodes/nodes.h
+3
-2
src/include/nodes/parsenodes.h
src/include/nodes/parsenodes.h
+21
-7
No files found.
src/include/nodes/nodes.h
View file @
1bf90bc7
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: nodes.h,v 1.1
0 1997/08/31 11:43:08 vadim
Exp $
* $Id: nodes.h,v 1.1
1 1997/09/01 06:04:57 thomas
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -206,7 +206,8 @@ typedef enum NodeTag {
T_TargetEntry
,
T_RangeTblEntry
,
T_SortClause
,
T_GroupClause
T_GroupClause
,
T_SubSelect
}
NodeTag
;
/*
...
...
src/include/nodes/parsenodes.h
View file @
1bf90bc7
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: parsenodes.h,v 1.2
1 1997/08/31 11:43:09 vadim
Exp $
* $Id: parsenodes.h,v 1.2
2 1997/09/01 06:04:59 thomas
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -554,9 +554,9 @@ typedef struct CursorStmt {
List
*
targetList
;
/* the target list (of ResTarget) */
List
*
fromClause
;
/* the from clause */
Node
*
whereClause
;
/* qualifications */
List
*
groupClause
;
/* group by clause */
List
*
groupClause
;
/* group by clause */
List
*
sortClause
;
/* sort clause (a list of SortGroupBy's) */
}
CursorStmt
;
}
CursorStmt
;
/* ----------------------
* Select Statement
...
...
@@ -564,28 +564,42 @@ typedef struct CursorStmt {
*/
typedef
struct
RetrieveStmt
{
NodeTag
type
;
char
*
unique
;
/* NULL, '*', or unique attribute name */
char
*
into
;
/* name of table (for select into
table) */
char
*
unique
;
/* NULL, '*', or unique attribute name */
char
*
into
;
/* name of table (for select into table) */
List
*
targetList
;
/* the target list (of ResTarget) */
List
*
fromClause
;
/* the from clause */
Node
*
whereClause
;
/* qualifications */
List
*
groupClause
;
/* group by clause */
Node
*
havingClause
;
/* having conditional-expression */
List
*
selectClause
;
/* subselect parameters */
List
*
sortClause
;
/* sort clause (a list of SortGroupBy's) */
}
RetrieveStmt
;
}
RetrieveStmt
;
/****************************************************************************
* Supporting data structures for Parse Trees
****************************************************************************/
/*
* SubSelect - specifies subselect parameters
*/
typedef
struct
SubSelect
{
NodeTag
type
;
char
*
unique
;
/* NULL, '*', or unique attribute name */
List
*
targetList
;
/* the target list (of ResTarget) */
List
*
fromClause
;
/* the from clause */
Node
*
whereClause
;
/* qualifications */
List
*
groupClause
;
/* group by clause */
Node
*
havingClause
;
/* having conditional-expression */
}
SubSelect
;
/*
* TypeName - specifies a type in definitions
*/
typedef
struct
TypeName
{
NodeTag
type
;
char
*
name
;
/* name of the type */
bool
timezone
;
/* timezone specified? */
bool
setof
;
/* is a set? */
List
*
arrayBounds
;
/* array bounds */
int
typlen
;
/* length for char() and varchar() */
...
...
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