[PATCH] postgres_fdw extension support

From: Paul Ramsey <pramsey(at)cleverelephant(dot)ca>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] postgres_fdw extension support
Date: 2015-07-15 18:43:41
Message-ID: CACowWR0EY8f6tA16Qb6zLRV69efTmiDN_-Z61QSRn+bG+ZkVwg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Hi all,

Attached is a patch that implements the extension support discussed at
PgCon this year during the FDW unconference sesssion. Highlights:

* Pass extension operators and functions to the foreign server
* Only send ops/funcs if the foreign server is declared to support the
relevant extension, for example:

CREATE SERVER foreign_server
FOREIGN DATA WRAPPER postgres_fdw
OPTIONS (host '127.0.0.1', port '5432', dbname 'my_db',
extensions 'cube, seg');

Github branch is here:
https://github.com/pramsey/postgres/tree/fdw-extension-suppport

Synthetic pull request for easy browsing/commenting is here:
https://github.com/pramsey/postgres/pull/1

Thanks!

Paul

Attachment Content-Type Size
fdw-extension-support.diff text/plain 13.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-07-15 19:21:56 Re: Memory Accounting v11
Previous Message Ryan Pedela 2015-07-15 17:20:25 Re: [PATCH] Generalized JSON output functions