pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rename 'cmd' to 'cmd_name' in CreatePolicyStmt
Date: Fri, 21 Aug 2015 12:23:38 +0000
Message-ID: <E1ZSlMB-0005tg-05@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


view thread (2+ messages)  latest in thread

Message-ID: <E1ZSlMB-0005tg-05@gemulon.postgresql.org>
Permalink:  ../E1ZSlMB-0005tg-05@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZSlMB-0005tg-05@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: sfrost@snowman.net
  Subject: Re: pgsql: Rename 'cmd' to 'cmd_name' in CreatePolicyStmt
  In-Reply-To: <E1ZSlMB-0005tg-05@gemulon.postgresql.org>
  References: <E1ZSlMB-0005tg-05@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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