Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit51689ec

Browse files
committed
MOVE implementation (added bool ismove to FetchStmt).
1 parent5a447b4 commit51689ec

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

‎src/include/nodes/nodes.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: nodes.h,v 1.14 1997/09/08 21:52:47 momjian Exp $
9+
* $Id: nodes.h,v 1.15 1997/09/29 06:01:44 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -161,7 +161,6 @@ typedef enum NodeTag
161161
T_ExtendStmt,
162162
T_FetchStmt,
163163
T_IndexStmt,
164-
T_MoveStmt,
165164
T_ProcedureStmt,
166165
T_PurgeStmt,
167166
T_RecipeStmt,

‎src/include/nodes/parsenodes.h

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: parsenodes.h,v 1.27 1997/09/08 21:52:49 momjian Exp $
9+
* $Id: parsenodes.h,v 1.28 1997/09/29 06:01:46 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -268,6 +268,7 @@ typedef struct FetchStmt
268268
intdirection;/* FORWARD or BACKWARD */
269269
inthowMany;/* amount to fetch ("ALL" --> 0) */
270270
char*portalname;/* name of portal (cursor) */
271+
boolismove;/* TRUE if MOVE */
271272
}FetchStmt;
272273

273274
/* ----------------------
@@ -289,19 +290,6 @@ typedef struct IndexStmt
289290
boolunique;/* is index unique? */
290291
}IndexStmt;
291292

292-
/* ----------------------
293-
*Move Statement (Not implemented)
294-
* ----------------------
295-
*/
296-
typedefstructMoveStmt
297-
{
298-
NodeTagtype;
299-
intdirection;/* FORWARD or BACKWARD */
300-
boolto;
301-
intwhere;
302-
char*portalname;
303-
}MoveStmt;
304-
305293
/* ----------------------
306294
*Create Function Statement
307295
* ----------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp