]> granicus.if.org Git - postgresql/commit
Rename 'cmd' to 'cmd_name' in CreatePolicyStmt
authorStephen Frost <sfrost@snowman.net>
Fri, 21 Aug 2015 12:22:22 +0000 (08:22 -0400)
committerStephen Frost <sfrost@snowman.net>
Fri, 21 Aug 2015 12:22:22 +0000 (08:22 -0400)
commit3c99788797e8269ac19c7c8e3fb99dd9613646ea
tree8eb014ff3ba91fd1a06c84c0123a7951d89a9171
parent7ec8296e70f0f03cbdb3e0eb4f05ad5be0f810c8
Rename 'cmd' to 'cmd_name' in CreatePolicyStmt

To avoid confusion, rename CreatePolicyStmt's 'cmd' to 'cmd_name',
parse_policy_command's 'cmd' to 'polcmd', and AlterPolicy's 'cmd_datum'
to 'polcmd_datum', per discussion with Noah and as a follow-up to his
correction of copynodes/equalnodes handling of the CreatePolicyStmt
'cmd' field.

Back-patch to 9.5 where the CreatePolicyStmt was introduced, as we
are still only in alpha.
src/backend/commands/policy.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/include/nodes/parsenodes.h