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
1f379056
Commit
1f379056
authored
Jan 21, 1999
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy RowMark node (it's for (-:)) FOR UPDATE).
parent
12be3e08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
src/backend/nodes/copyfuncs.c
src/backend/nodes/copyfuncs.c
+17
-1
No files found.
src/backend/nodes/copyfuncs.c
View file @
1f379056
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.5
1 1998/12/04 15:33:33 thomas
Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.5
2 1999/01/21 16:38:36 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -1540,6 +1540,17 @@ _copyRangeTblEntry(RangeTblEntry *from)
return
newnode
;
}
static
RowMark
*
_copyRowMark
(
RowMark
*
from
)
{
RowMark
*
newnode
=
makeNode
(
RowMark
);
newnode
->
rti
=
from
->
rti
;
newnode
->
info
=
from
->
info
;
return
newnode
;
}
static
SortClause
*
_copySortClause
(
SortClause
*
from
)
{
...
...
@@ -1623,6 +1634,8 @@ _copyQuery(Query *from)
Node_Copy
(
from
,
newnode
,
limitOffset
);
Node_Copy
(
from
,
newnode
,
limitCount
);
Node_Copy
(
from
,
newnode
,
rowMark
);
return
newnode
;
}
...
...
@@ -1846,6 +1859,9 @@ copyObject(void *from)
case
T_RangeTblEntry
:
retval
=
_copyRangeTblEntry
(
from
);
break
;
case
T_RowMark
:
retval
=
_copyRowMark
(
from
);
break
;
case
T_SortClause
:
retval
=
_copySortClause
(
from
);
break
;
...
...
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