pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Introduce new extended routines for FDW and foreign server looku
Date: Fri, 14 Dec 2018 00:00:26 +0000
Message-ID: <E1gXau2-0003zm-JQ@gemulon.postgresql.org> (raw)

Introduce new extended routines for FDW and foreign server lookups

The cache lookup routines for foreign-data wrappers and foreign servers
are extended with an extra argument to handle a set of flags.  The only
value which can be used now is to indicate if a missing object should
result in an error or not, and are designed to be extensible on need.
Those new routines are added into the existing set of user-visible
FDW APIs and documented in consequence.  They will be used for future
patches to improve the SQL interface for object addresses.

Author: Michael Paquier
Reviewed-by: Álvaro Herrera
Discussion: https://postgr.es/m/CAB7nPqSZxrSmdHK-rny7z8mi=EAFXJ5J-0RbzDw6aus=wB5azQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8fb569e978af3995f0dd6b0033758ec571aab0c1

Modified Files
--------------
doc/src/sgml/fdwhandler.sgml  | 34 ++++++++++++++++++++++++++++++++++
src/backend/foreign/foreign.c | 36 ++++++++++++++++++++++++++++++++++--
src/include/foreign/foreign.h | 10 ++++++++++
3 files changed, 78 insertions(+), 2 deletions(-)



Message-ID: <E1gXau2-0003zm-JQ@gemulon.postgresql.org>
Permalink:  ../E1gXau2-0003zm-JQ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gXau2-0003zm-JQ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Introduce new extended routines for FDW and foreign server looku
  In-Reply-To: <E1gXau2-0003zm-JQ@gemulon.postgresql.org>
  References: <E1gXau2-0003zm-JQ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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