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 1kbVBW-0004eB-FD for pgsql-general@arkaria.postgresql.org; Sat, 07 Nov 2020 20:51:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kbVBV-0005M4-8b for pgsql-general@arkaria.postgresql.org; Sat, 07 Nov 2020 20:51:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbVBT-0005L8-7Y for pgsql-general@lists.postgresql.org; Sat, 07 Nov 2020 20:51:41 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbVBN-0007bC-Uw for pgsql-general@lists.postgresql.org; Sat, 07 Nov 2020 20:51:38 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 780FB5C007D; Sat, 7 Nov 2020 15:51:31 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 07 Nov 2020 15:51:31 -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=s lbH4vCrR6Ot59u2KoZwGUNVFbkY0laRqBrn6LN0u/g=; b=qgXNLXnR4+DrgIKDH RDJp1Efqw2AgIzc3Xu88QoIrIXjM9ORTRisVVHeDbaMyyGwj5sZMO3qp/giF9xGp p2oB0R2IvZN25BLafk6QjUkottWnzk/aX9oJTOTNBmpCTmxNTZzXPUYmMx0N82uy m0fnbnpuc0N7yd4EzYg66rR5ojz7JpQkmzLKEnifAGXItVcvMpMobBusvG8w3AKh eeubpwTZ31Nn501bCATAQutCbx4mab3Gjwo04vtiDNMyA2HhjLoSI3FX6h7ocLaX bpau+i7R8mXaIrR0y0hk3AJFFC/8MTPqj7cGq/r343ncw9iT8EcfoWHtgyLlvjGv x48ag== 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=slbH4vCrR6Ot59u2KoZwGUNVFbkY0laRqBrn6LN0u /g=; b=JRWlljdHy5mE2Xy+hIUofuLaB2em7pR2m9t3frG6NJxBvYPOILH5ovnMm LvwKw/de1YZfnD71+TecdYyvk1U4j19JORwB+iEHnTSCAKQJZhCl2/MPOX2n2gUS bVU4+nEp9Y0HWgDgxx5jCduBaTMOOln9AOcxPNvWMzCO9HKya9XTt1769Ok8T3A8 qUdVTaFJJExwzHf9vnPj8lgvESBL5McQmyWc0I3NL/QNxctCO9PVryEDjKaclrGg iMJ4uWZNsBJwII7kR5m1dtH07K6PUZmchJ+g0QCYbNKpnFHlrmGlVXiEiWqbBOog ucF8FE2zfZlOm6YjkxA892mi5OEng== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudduuddgudeghecutefuodetggdotefrod 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 A2A283280414; Sat, 7 Nov 2020 15:51:30 -0500 (EST) Subject: Re: Foreign Data Wrapper Handler To: susan.hurst@brookhurstdata.com, Discuss List Postgres References: From: Adrian Klaver Message-ID: <376c4b35-383d-33bf-d22c-0939e034b455@aklaver.com> Date: Sat, 7 Nov 2020 12:51:29 -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: 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/7/20 12:44 PM, Susan Hurst wrote: > Can anyone recommend a good online resource for learning how to set up a > foreign data wrapper using a custom fdw name?  It seems the trick is to > use a handler to make it work but so far the search results have been > elusive for creating a fdw with a successful outcome. Have you gone through this?: https://www.postgresql.org/docs/12/fdwhandler.html Also can we get a definition of 'custom fdw name'? > > I'm using 'PostgreSQL 11.8 on amd64-portbld-freebsd12.1, compiled by > FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on > LLVM 8.0.1), 64-bit' > > Thanks for your help! > > Sue > -- Adrian Klaver adrian.klaver@aklaver.com