Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJJ3Z-0005M3-Bb for pgsql-bugs@arkaria.postgresql.org; Sat, 12 Oct 2019 15:11:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iJJ2Y-0004ZR-K5 for pgsql-bugs@arkaria.postgresql.org; Sat, 12 Oct 2019 15:10:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJJ2Y-0004Z1-Bf for pgsql-bugs@lists.postgresql.org; Sat, 12 Oct 2019 15:10:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iJJ2W-0002Z4-Oy; Sat, 12 Oct 2019 15:10:41 +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 x9CFAbnV001699; Sat, 12 Oct 2019 11:10:37 -0400 From: Tom Lane To: cdalxndr@yahoo.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form Subject: Re: BUG #16052: pg_dump --no-comments not working In-reply-to: <16052-43b1740ee8e2196f@postgresql.org> References: <16052-43b1740ee8e2196f@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sat, 12 Oct 2019 14:58:30 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1697.1570893037.1@sss.pgh.pa.us> Date: Sat, 12 Oct 2019 11:10:37 -0400 Message-ID: <1698.1570893037@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > Using the following command: > pg_dump -U postgres -p 5433 -n schema -s --no-comments > schema.sql > The output still has comments: > -- > -- PostgreSQL database dump > -- --no-comments means to suppress dumping of database-object comments (created with the COMMENT command). regards, tom lane