pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Minor cleanup of column-level priv fix
2+ messages / 1 participants
[nested] [flat]

* pgsql: Minor cleanup of column-level priv fix
@ 2015-02-17 20:37 Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephen Frost @ 2015-02-17 20:37 UTC (permalink / raw)
  To: pgsql-committers

Minor cleanup of column-level priv fix

Commit 9406884af19e2620a14059e64d4eb6ab430ab328 cleaned up
column-privilege related leaks in various error-message paths, but ended
up including a few more things than it should have in the back branches.

Specifically, there's no need for the GetModifiedColumns macro in
execMain.c as 9.1 and older didn't include the row in check constraint
violations.  Further, the regression tests added to check those cases
aren't necessary.

This patch removes the GetModifiedColumns macro from execMain.c, removes
the comment which was added to trigger.c related to the duplicate macro
definition, and removes the check-constraint-related regression tests.

Pointed out by Robert.

Back-patched to 9.1 and 9.0.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/cfc14b2bf348528bc8f0f04fe1ff80e7abdf0529

Modified Files
--------------
src/backend/commands/trigger.c           |    6 ------
src/backend/executor/execMain.c          |    9 ---------
src/test/regress/expected/privileges.out |    8 --------
src/test/regress/sql/privileges.sql      |    4 ----
4 files changed, 27 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: Minor cleanup of column-level priv fix
@ 2015-02-17 20:37 Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Stephen Frost @ 2015-02-17 20:37 UTC (permalink / raw)
  To: pgsql-committers

Minor cleanup of column-level priv fix

Commit 9406884af19e2620a14059e64d4eb6ab430ab328 cleaned up
column-privilege related leaks in various error-message paths, but ended
up including a few more things than it should have in the back branches.

Specifically, there's no need for the GetModifiedColumns macro in
execMain.c as 9.1 and older didn't include the row in check constraint
violations.  Further, the regression tests added to check those cases
aren't necessary.

This patch removes the GetModifiedColumns macro from execMain.c, removes
the comment which was added to trigger.c related to the duplicate macro
definition, and removes the check-constraint-related regression tests.

Pointed out by Robert.

Back-patched to 9.1 and 9.0.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2ed7ef9219f24e99f416b120b1f1841c375c1b51

Modified Files
--------------
src/backend/commands/trigger.c           |    6 ------
src/backend/executor/execMain.c          |    9 ---------
src/test/regress/expected/privileges.out |    8 --------
src/test/regress/sql/privileges.sql      |    4 ----
4 files changed, 27 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-02-17 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-02-17 20:37 pgsql: Minor cleanup of column-level priv fix Stephen Frost <sfrost@snowman.net>
2015-02-17 20:37 pgsql: Minor cleanup of column-level priv fix 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