diff options
author | Stephen Frost <sfrost@snowman.net> | 2015-02-25 23:32:18 -0500 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2015-02-25 23:35:04 -0500 |
commit | 62a4a1af5d1d84f0023bc3816c204191b0f4f49f (patch) | |
tree | bc5de324ef6334922952a277c4bd8aa5eba62207 /src/backend/nodes/copyfuncs.c | |
parent | 6f9bd50eabb0a4960e94c83dac8855771c9f340d (diff) | |
download | postgresql-62a4a1af5d1d84f0023bc3816c204191b0f4f49f.tar.gz postgresql-62a4a1af5d1d84f0023bc3816c204191b0f4f49f.zip |
Add hasRowSecurity to copyfuncs/outfuncs
The RLS patch added a hasRowSecurity field to PlannerGlobal and
PlannedStmt but didn't update nodes/copyfuncs.c and nodes/outfuncs.c to
reflect those additional fields.
Correct that by adding entries to the appropriate functions for those
fields.
Pointed out by Robert.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 5282a4fec22..9fe80080f31 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -93,6 +93,7 @@ _copyPlannedStmt(const PlannedStmt *from) COPY_NODE_FIELD(relationOids); COPY_NODE_FIELD(invalItems); COPY_SCALAR_FIELD(nParamExec); + COPY_SCALAR_FIELD(hasRowSecurity); return newnode; } |