pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Teach pg_dump to quote reloption values safely.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Teach pg_dump to quote reloption values safely.
@ 2016-01-03 00:05  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-01-03 00:05 UTC (permalink / raw)
  To: pgsql-committers

Teach pg_dump to quote reloption values safely.

Commit c7e27becd2e6eb93 fixed this on the backend side, but we neglected
the fact that several code paths in pg_dump were printing reloptions
values that had not gotten massaged by ruleutils.  Apply essentially the
same quoting logic in those places, too.

Branch
------
master

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

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  169 ++++++++++++++++++++++++++++++++++-----------
src/bin/pg_dump/pg_dump.h |    4 +-
2 files changed, 132 insertions(+), 41 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] 6+ messages in thread

* pgsql: Teach pg_dump to quote reloption values safely.
@ 2016-01-03 00:05  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-01-03 00:05 UTC (permalink / raw)
  To: pgsql-committers

Teach pg_dump to quote reloption values safely.

Commit c7e27becd2e6eb93 fixed this on the backend side, but we neglected
the fact that several code paths in pg_dump were printing reloptions
values that had not gotten massaged by ruleutils.  Apply essentially the
same quoting logic in those places, too.

Branch
------
REL9_5_STABLE

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

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  166 ++++++++++++++++++++++++++++++++++-----------
src/bin/pg_dump/pg_dump.h |    4 +-
2 files changed, 130 insertions(+), 40 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] 6+ messages in thread

* pgsql: Teach pg_dump to quote reloption values safely.
@ 2016-01-03 00:05  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-01-03 00:05 UTC (permalink / raw)
  To: pgsql-committers

Teach pg_dump to quote reloption values safely.

Commit c7e27becd2e6eb93 fixed this on the backend side, but we neglected
the fact that several code paths in pg_dump were printing reloptions
values that had not gotten massaged by ruleutils.  Apply essentially the
same quoting logic in those places, too.

Branch
------
REL9_4_STABLE

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

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  162 +++++++++++++++++++++++++++++++++++----------
src/bin/pg_dump/pg_dump.h |    4 +-
2 files changed, 128 insertions(+), 38 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] 6+ messages in thread

* pgsql: Teach pg_dump to quote reloption values safely.
@ 2016-01-03 00:05  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-01-03 00:05 UTC (permalink / raw)
  To: pgsql-committers

Teach pg_dump to quote reloption values safely.

Commit c7e27becd2e6eb93 fixed this on the backend side, but we neglected
the fact that several code paths in pg_dump were printing reloptions
values that had not gotten massaged by ruleutils.  Apply essentially the
same quoting logic in those places, too.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6a0d63d351a73e96fb0f618c92972080a8d024a5

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  160 +++++++++++++++++++++++++++++++++++----------
src/bin/pg_dump/pg_dump.h |    2 +-
2 files changed, 126 insertions(+), 36 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] 6+ messages in thread

* pgsql: Teach pg_dump to quote reloption values safely.
@ 2016-01-03 00:05  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-01-03 00:05 UTC (permalink / raw)
  To: pgsql-committers

Teach pg_dump to quote reloption values safely.

Commit c7e27becd2e6eb93 fixed this on the backend side, but we neglected
the fact that several code paths in pg_dump were printing reloptions
values that had not gotten massaged by ruleutils.  Apply essentially the
same quoting logic in those places, too.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1eb515ad7c1295099b252a58d71183e53ce2f818

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  156 +++++++++++++++++++++++++++++++++++----------
src/bin/pg_dump/pg_dump.h |    2 +-
2 files changed, 124 insertions(+), 34 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] 6+ messages in thread

* pgsql: Teach pg_dump to quote reloption values safely.
@ 2016-01-03 00:05  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-01-03 00:05 UTC (permalink / raw)
  To: pgsql-committers

Teach pg_dump to quote reloption values safely.

Commit c7e27becd2e6eb93 fixed this on the backend side, but we neglected
the fact that several code paths in pg_dump were printing reloptions
values that had not gotten massaged by ruleutils.  Apply essentially the
same quoting logic in those places, too.

Branch
------
REL9_1_STABLE

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

Modified Files
--------------
src/bin/pg_dump/pg_dump.c |  139 ++++++++++++++++++++++++++++++++++++---------
src/bin/pg_dump/pg_dump.h |    2 +-
2 files changed, 113 insertions(+), 28 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] 6+ messages in thread


end of thread, other threads:[~2016-01-03 00:05 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-01-03 00:05 pgsql: Teach pg_dump to quote reloption values safely. Tom Lane <tgl@sss.pgh.pa.us>
2016-01-03 00:05 pgsql: Teach pg_dump to quote reloption values safely. Tom Lane <tgl@sss.pgh.pa.us>
2016-01-03 00:05 pgsql: Teach pg_dump to quote reloption values safely. Tom Lane <tgl@sss.pgh.pa.us>
2016-01-03 00:05 pgsql: Teach pg_dump to quote reloption values safely. Tom Lane <tgl@sss.pgh.pa.us>
2016-01-03 00:05 pgsql: Teach pg_dump to quote reloption values safely. Tom Lane <tgl@sss.pgh.pa.us>
2016-01-03 00:05 pgsql: Teach pg_dump to quote reloption values safely. Tom Lane <tgl@sss.pgh.pa.us>

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