Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcDpl-0007JZ-FH for pgsql-general@arkaria.postgresql.org; Mon, 09 Nov 2020 20:32:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcDpk-0007bU-Bk for pgsql-general@arkaria.postgresql.org; Mon, 09 Nov 2020 20:32:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcDpi-0007bM-OF for pgsql-general@lists.postgresql.org; Mon, 09 Nov 2020 20:32:12 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcDpf-0008Ib-Rv for pgsql-general@lists.postgresql.org; Mon, 09 Nov 2020 20:32:09 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id C09685C03C7; Mon, 9 Nov 2020 15:32:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 09 Nov 2020 15:32:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=y plseSowO3v+OX2dw1+1uwirR/BaXzMGrXp3PLpJ5ik=; b=LnjNpa11kYWEwLFPT ZyYmkkhwKAfk1OM0TX0qRhbT8JcaIEThUIZiC5NI6RgRIlhxkuT6tEBsj4nQ+tIh NlkRuadipB7fP6+gewPLDsZwZO4JXuHVTN9V5TAgG+q8wY/QT3r/ls6HMolGaK5p rp/E4ZCq2orJAtA1A/BY8VBcpPKpPWYf6ELmmz5ZOuty0dpAD2GTByCTyOCT9sMl dAt3VlWXAbgRL0aXVLCf3KruCWkvIgXI9OyiLip3AvTZVrmfUTi7KsZw4p9PTX4r BZExYbYjm6TUNhuKHDe5vH+W3SGKJjQlZcUtJMKckWD5SVtHGh5JTJD2lm0cHC+4 /eyMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=yplseSowO3v+OX2dw1+1uwirR/BaXzMGrXp3PLpJ5 ik=; b=X8tf1dzYYVdPzstxcdRATuQT1v6yru6wwyB1FgChCebcsU8CS4Kvdi6LY Bi/LFht9lV6FOgYarzMPQaq3Wwcll5vwPjg8LPq1NFo++hfLO9s/FXCO9djCrSsF EwaeZbRHi0/WDCDA3airzXps4w5pht05iQFaUE4ZxgTcuHmnJe/93QRfvBGHsVFu B7gjGwvK8djo1ot/VfNGwX9OoJoLvfThzT/JM7o1ONSC+UUuO2lYzN1WEdF0Bc05 tU7sg4OJR+U1dbcP0HRmuXonaVFLKpmVys8vHiKJ3PJWd4BqpDzze5IhNcRuNggk RlcPQCfxkmWyv8ZKK9dDiOUC0oXaw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudduhedgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesth ekredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeduudefje etveffhefgudehtdfhvdetkeeiueehfeevveduteekleeuheegudehhfenucffohhmrghi nhepphhoshhtghhrvghsqhhlrdhorhhgnecukfhppeejhedrudejvddrudelrddufeelne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhi rghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EA3F3063067; Mon, 9 Nov 2020 15:32:05 -0500 (EST) Subject: Re: Foreign Data Wrapper Handler To: susan.hurst@brookhurstdata.com, pgsql-general@lists.postgresql.org References: <376c4b35-383d-33bf-d22c-0939e034b455@aklaver.com> <935b28a237e31f840b24d5e090e09342@mail.brookhurstdata.net> <705d3d33d46358c460659798c14377fc@mail.brookhurstdata.net> From: Adrian Klaver Message-ID: Date: Mon, 9 Nov 2020 12:32:05 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.1 MIME-Version: 1.0 In-Reply-To: <705d3d33d46358c460659798c14377fc@mail.brookhurstdata.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/9/20 9:21 AM, Susan Hurst wrote: > Thanks for the detailed instructions, Laurenz! > > "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? https://www.postgresql.org/docs/12/sql-createserver.html > > --- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Susan E Hurst > Principal Consultant > Brookhurst Data LLC > Email: susan.hurst@brookhurstdata.com > Mobile: 314-486-3261 > -- Adrian Klaver adrian.klaver@aklaver.com