pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Rename 'cmd' to 'cmd_name' in CreatePolicyStmt
2+ messages / 1 participants
[nested] [flat]

* pgsql: Rename 'cmd' to 'cmd_name' in CreatePolicyStmt
@ 2015-08-21 12:23 Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephen Frost @ 2015-08-21 12:23 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3c99788797e8269ac19c7c8e3fb99dd9613646ea

Modified Files
--------------
src/backend/commands/policy.c  |   22 +++++++++++-----------
src/backend/nodes/copyfuncs.c  |    2 +-
src/backend/nodes/equalfuncs.c |    2 +-
src/backend/parser/gram.y      |    2 +-
src/include/nodes/parsenodes.h |    2 +-
5 files changed, 15 insertions(+), 15 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Rename 'cmd' to 'cmd_name' in CreatePolicyStmt
@ 2015-08-21 12:23 Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephen Frost @ 2015-08-21 12:23 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/49f9a2831b8c5c8941eec9baa5d44b471971704e

Modified Files
--------------
src/backend/commands/policy.c  |   22 +++++++++++-----------
src/backend/nodes/copyfuncs.c  |    2 +-
src/backend/nodes/equalfuncs.c |    2 +-
src/backend/parser/gram.y      |    2 +-
src/include/nodes/parsenodes.h |    2 +-
5 files changed, 15 insertions(+), 15 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-08-21 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-08-21 12:23 pgsql: Rename 'cmd' to 'cmd_name' in CreatePolicyStmt Stephen Frost <sfrost@snowman.net>
2015-08-21 12:23 pgsql: Rename 'cmd' to 'cmd_name' in CreatePolicyStmt Stephen Frost <sfrost@snowman.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox