pgsql: Don't require a user mapping for FDWs to work.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't require a user mapping for FDWs to work.
Date: 2016-03-29 01:51:52
Message-ID: E1akioy-0007ZZ-T2@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Don't require a user mapping for FDWs to work.

Commit fbe5a3fb73102c2cfec11aaaa4a67943f4474383 accidentally changed
this behavior; put things back the way they were, and add some
regression tests.

Report by Andres Freund; patch by Ashutosh Bapat, with a bit of
kibitzing by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5d4171d1c70edfe3e9be1de9e66603af28e3afe1

Modified Files
--------------
contrib/file_fdw/input/file_fdw.source | 3 ++
contrib/file_fdw/output/file_fdw.source | 14 +++++-
contrib/postgres_fdw/expected/postgres_fdw.out | 61 +++++++++++++++++++++++---
contrib/postgres_fdw/postgres_fdw.c | 10 +++++
contrib/postgres_fdw/sql/postgres_fdw.sql | 9 ++--
src/backend/foreign/foreign.c | 36 +++++++++++----
src/backend/optimizer/util/relnode.c | 12 ++++-
src/include/foreign/foreign.h | 2 +-
8 files changed, 125 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-03-29 01:52:05 Re: Re: [COMMITTERS] pgsql: Only try to push down foreign joins if the user mapping OIDs mat
Previous Message Michael Paquier 2016-03-29 01:15:18 Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c.