Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMNQ8-0008QZ-B4 for pgsql-docs@arkaria.postgresql.org; Wed, 06 Dec 2017 00:18:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMNQ7-0006Gq-OD for pgsql-docs@arkaria.postgresql.org; Wed, 06 Dec 2017 00:18:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eMNQ7-0006Gg-CS for pgsql-docs@lists.postgresql.org; Wed, 06 Dec 2017 00:18:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eMNQ5-00071R-1J for pgsql-docs@postgresql.org; Wed, 06 Dec 2017 00:18:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vB60IZtH018011; Tue, 5 Dec 2017 19:18:35 -0500 From: Tom Lane To: "David G. Johnston" cc: randumbloggr@gmail.com, "pgsql-docs@postgresql.org" Subject: Re: documentation for SQL "COPY" says "FORMAT" In-reply-to: References: <20171206000159.27101.43507@wrigleys.postgresql.org> Comments: In-reply-to "David G. Johnston" message dated "Tue, 05 Dec 2017 17:11:16 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18009.1512519515.1@sss.pgh.pa.us> Date: Tue, 05 Dec 2017 19:18:35 -0500 Message-ID: <18010.1512519515@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "David G. Johnston" writes: > On Tue, Dec 5, 2017 at 5:01 PM, wrote: >> the documentation for the copy command (since version 9.0) says to use the >> keyword "FORMAT" , this keyword should be omitted > I'm pretty sure the docs are correct. You should provide the exact > commands you think should work and the error message you receive when you > execute said commands. I think probably the OP is confusing the current COPY syntax with the obsolete form documented at the bottom of the COPY page. regards, tom lane