Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1smkHN-007xb7-1b for pgsql-general@arkaria.postgresql.org; Sat, 07 Sep 2024 01:30:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1smkHK-007Z9S-2c for pgsql-general@arkaria.postgresql.org; Sat, 07 Sep 2024 01:30:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1smkHJ-007Z80-O8 for pgsql-general@lists.postgresql.org; Sat, 07 Sep 2024 01:30:18 +0000 Received: from smtp72.iad3a.emailsrvr.com ([173.203.187.72]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1smkHH-000XCX-Uk for pgsql-general@lists.postgresql.org; Sat, 07 Sep 2024 01:30:17 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp34.relay.iad3a.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id A5E2724B40; Fri, 6 Sep 2024 21:30:13 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: Foreign Data Wrappers From: Christophe Pettus In-Reply-To: Date: Fri, 6 Sep 2024 18:29:42 -0700 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: <6FA30AD0-78FA-459E-BE85-334BFA1D0D2E@thebuild.com> References: To: Gus Spier X-Mailer: Apple Mail (2.3774.600.62) X-Classification-ID: f29795d0-25d2-4a23-8606-0a3825e01afe-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Sep 6, 2024, at 17:55, Gus Spier wrote: > If I understand the concepts correctly, FDW not only makes other = databases available, FDW also offers access to .csv files, plain text, = or just about anything that can be bullied into some kind of query-able = order. There two parts to FDWs: The code in the PostgreSQL core, and the FDW = extension that is specific to type of the remote data source. It's up = to the plug-in to translate the remote data source into a format that = appears as a foreign table, so the specifics of how the remote data = source are mapped to the table depend on the plug-ins implementation. = You need to install the FDW extension in the PostgreSQL instance as you = do with any extension. There are a lot of different plug-ins, of = varying degrees to maintenance, out in the ecosystem. They definitely = exist for Redis; I'm not sure about Elasticache.=