pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid
3+ messages / 1 participants
[nested] [flat]

* pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid
@ 2016-02-05 03:27  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2016-02-05 03:27 UTC (permalink / raw)
  To: pgsql-committers

postgres_fdw: Avoid possible misbehavior when RETURNING tableoid column only.

deparseReturningList ended up adding up RETURNING NULL to the code, but
code elsewhere saw an empty list of attributes and concluded that it
should not expect tuples from the remote side.

Etsuro Fujita and Robert Haas, reviewed by Thom Brown

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/37c84570b1e32aef886c9b546e0dd4a128cb7492

Modified Files
--------------
contrib/postgres_fdw/deparse.c                 | 18 +++++----
contrib/postgres_fdw/expected/postgres_fdw.out | 53 ++++++++++++++++++++++++++
contrib/postgres_fdw/sql/postgres_fdw.sql      |  9 +++++
3 files changed, 73 insertions(+), 7 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] 3+ messages in thread

* pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid
@ 2016-02-05 03:27  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2016-02-05 03:27 UTC (permalink / raw)
  To: pgsql-committers

postgres_fdw: Avoid possible misbehavior when RETURNING tableoid column only.

deparseReturningList ended up adding up RETURNING NULL to the code, but
code elsewhere saw an empty list of attributes and concluded that it
should not expect tuples from the remote side.

Etsuro Fujita and Robert Haas, reviewed by Thom Brown

Branch
------
REL9_5_STABLE

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

Modified Files
--------------
contrib/postgres_fdw/deparse.c                 | 18 +++++----
contrib/postgres_fdw/expected/postgres_fdw.out | 53 ++++++++++++++++++++++++++
contrib/postgres_fdw/sql/postgres_fdw.sql      |  9 +++++
3 files changed, 73 insertions(+), 7 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] 3+ messages in thread

* pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid
@ 2016-02-05 03:27  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2016-02-05 03:27 UTC (permalink / raw)
  To: pgsql-committers

postgres_fdw: Avoid possible misbehavior when RETURNING tableoid column only.

deparseReturningList ended up adding up RETURNING NULL to the code, but
code elsewhere saw an empty list of attributes and concluded that it
should not expect tuples from the remote side.

Etsuro Fujita and Robert Haas, reviewed by Thom Brown

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2099b911d75738e18749e89019bf75f20dfde4c1

Modified Files
--------------
contrib/postgres_fdw/deparse.c                 | 18 +++++----
contrib/postgres_fdw/expected/postgres_fdw.out | 53 ++++++++++++++++++++++++++
contrib/postgres_fdw/sql/postgres_fdw.sql      |  9 +++++
3 files changed, 73 insertions(+), 7 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] 3+ messages in thread


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

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-02-05 03:27 pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid Robert Haas <rhaas@postgresql.org>
2016-02-05 03:27 pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid Robert Haas <rhaas@postgresql.org>
2016-02-05 03:27 pgsql: postgres_fdw: Avoid possible misbehavior when RETURNING tableoid Robert Haas <rhaas@postgresql.org>

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