pgsql: postgres_fdw: Refactor deparsing code for locking clauses.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: postgres_fdw: Refactor deparsing code for locking clauses.
Date: 2016-01-28 21:46:15
Message-ID: E1aOuON-0006hN-QI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

postgres_fdw: Refactor deparsing code for locking clauses.

The upcoming patch to allow join pushdown in postgres_fdw needs to use
this code multiple times, which requires moving it to deparse.c. That
seems like a good idea anyway, so do that now both on general principle
and to simplify the future patch.

Inspired by a patch by Shigeru Hanada and Ashutosh Bapat, but I did
it a little differently than what that patch did.

Branch
------
master

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

Modified Files
--------------
contrib/postgres_fdw/deparse.c | 60 +++++++++++++++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c | 51 ++-----------------------------
contrib/postgres_fdw/postgres_fdw.h | 2 ++
3 files changed, 64 insertions(+), 49 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2016-01-29 03:16:21 pgsql: Fix syntax descriptions for replication commands in logicaldecod
Previous Message Robert Haas 2016-01-28 19:09:01 pgsql: Only try to push down foreign joins if the user mapping OIDs mat