diff options
| author | Ashutosh Bapat | 2011-07-27 05:42:22 +0000 |
|---|---|---|
| committer | Ashutosh Bapat | 2011-07-27 05:42:22 +0000 |
| commit | 93d93ce4984b3868d80a6eb6b58e67abf99ce50f (patch) | |
| tree | 7ea9a8174bc74686893e3228e2db7fd98844b797 /src/backend/nodes | |
| parent | f0f8a4b0680532a89c364c2294d3ca3a07ef7fea (diff) | |
In function do_query() and ExecRemoteQuery() there is duplicated code
respectively. Gathered this code into respective functions and called these
functions instead of duplicating the code.
The members expr and relid of ExecNodes are renamed as en_expr and en_relid.
Diffstat (limited to 'src/backend/nodes')
| -rw-r--r-- | src/backend/nodes/copyfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 9f07766e1c..83fac1ce93 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -1035,8 +1035,8 @@ _copyExecNodes(ExecNodes *from) COPY_NODE_FIELD(nodelist); COPY_SCALAR_FIELD(baselocatortype); COPY_SCALAR_FIELD(tableusagetype); - COPY_NODE_FIELD(expr); - COPY_SCALAR_FIELD(relid); + COPY_NODE_FIELD(en_expr); + COPY_SCALAR_FIELD(en_relid); COPY_SCALAR_FIELD(accesstype); return newnode; |
