Re: Foreign Data Wrapper Handler

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: susan(dot)hurst(at)brookhurstdata(dot)com, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Foreign Data Wrapper Handler
Date: 2020-11-09 17:28:53
Message-ID: 7a1d990b614c9ae573c3b32ccba579930320d39d.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2020-11-09 17:45:43 Re: Temporary tables usage in functions
Previous Message Susan Hurst 2020-11-09 17:21:29 Re: Foreign Data Wrapper Handler