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 1kCquy-0005yo-8f for pgsql-docs@arkaria.postgresql.org; Mon, 31 Aug 2020 21:00:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kCqux-0000vU-7A for pgsql-docs@arkaria.postgresql.org; Mon, 31 Aug 2020 21:00:43 +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 1kCqux-0000vJ-1J for pgsql-docs@lists.postgresql.org; Mon, 31 Aug 2020 21:00:43 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCquu-0005D3-LL for pgsql-docs@lists.postgresql.org; Mon, 31 Aug 2020 21:00:42 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1kCqur-0002XQ-9D; Mon, 31 Aug 2020 17:00:37 -0400 Date: Mon, 31 Aug 2020 17:00:37 -0400 From: Bruce Momjian To: "David G. Johnston" Cc: splarv@ya.ru, Pg Docs Subject: Re: Create a Foreign Table for PostgreSQL CSV Logs Message-ID: <20200831210037.GM13613@momjian.us> References: <159800192078.2886.10431506404995508950@wrigleys.postgresql.org> <20200821215807.GE13363@momjian.us> <20200822175156.GG26781@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200822175156.GG26781@momjian.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sat, Aug 22, 2020 at 01:51:56PM -0400, Bruce Momjian wrote: > On Fri, Aug 21, 2020 at 08:41:54PM -0700, David G. Johnston wrote: > > On Fri, Aug 21, 2020 at 2:58 PM Bruce Momjian wrote: > > Good idea.  People have been confused about this before.  Attached is a > > patch. > > > > > > + It is also possible to access the file as a foreign data wrapper > > +        using . > > > > Seems more accurate to say "It is also possible to access the file as a foreign > > table, using the supplied module." > > > > The file_fdw -> config change looks good. > > OK, updated patch attached. Patch applied. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee