pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: susan.hurst@brookhurstdata.com
To: pgsql-general@lists.postgresql.org
Subject: Re: Foreign Data Wrapper Handler
Date: Mon, 09 Nov 2020 18:28:53 +0100
Message-ID: <7a1d990b614c9ae573c3b32ccba579930320d39d.camel@cybertec.at> (raw)
In-Reply-To: <705d3d33d46358c460659798c14377fc@mail.brookhurstdata.net>
References: <adff96cceab07b28fba4261e8fda35a5@mail.brookhurstdata.net>
	<376c4b35-383d-33bf-d22c-0939e034b455@aklaver.com>
	<935b28a237e31f840b24d5e090e09342@mail.brookhurstdata.net>
	<c42ae6c78b5a0fc2ff05bb48ddca3733fc3212a4.camel@cybertec.at>
	<705d3d33d46358c460659798c14377fc@mail.brookhurstdata.net>

On Mon, 2020-11-09 at 11:21 -0600, Susan Hurst wrote:
> "The foreign server encapsulates the connection string to access a remote
> PostgreSQL database.  Define one per remote database you want to access."
> 
> Where do I define "one per remote database"?.....in pg_hba.conf?

No, in SQL:

   CREATE FOREIGN SERVER somename FOREIFN DATA WRAPPER postgres_fdw OPTIONS (...);

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (8+ messages)  latest in thread

Message-ID: <7a1d990b614c9ae573c3b32ccba579930320d39d.camel@cybertec.at>
Permalink:  ../7a1d990b614c9ae573c3b32ccba579930320d39d.camel@cybertec.at/
Also on:    postgresql.org/message-id/7a1d990b614c9ae573c3b32ccba579930320d39d.camel@cybertec.at

 · 

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-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, susan.hurst@brookhurstdata.com
  Subject: Re: Foreign Data Wrapper Handler
  In-Reply-To: <7a1d990b614c9ae573c3b32ccba579930320d39d.camel@cybertec.at>
  References: <adff96cceab07b28fba4261e8fda35a5@mail.brookhurstdata.net> <376c4b35-383d-33bf-d22c-0939e034b455@aklaver.com> <935b28a237e31f840b24d5e090e09342@mail.brookhurstdata.net> <c42ae6c78b5a0fc2ff05bb48ddca3733fc3212a4.camel@cybertec.at> <705d3d33d46358c460659798c14377fc@mail.brookhurstdata.net> <7a1d990b614c9ae573c3b32ccba579930320d39d.camel@cybertec.at>

* 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