BUG #16052: pg_dump --no-comments not working

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: cdalxndr(at)yahoo(dot)com
Subject: BUG #16052: pg_dump --no-comments not working
Date: 2019-10-12 14:58:30
Message-ID: 16052-43b1740ee8e2196f@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16052
Logged by: cd a
Email address: cdalxndr(at)yahoo(dot)com
PostgreSQL version: 11.5
Operating system: Windows 10
Description:

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
--

-- Dumped from database version 11.5
-- Dumped by pg_dump version 11.5

--
-- Name: schema; Type: SCHEMA; Schema: -; Owner: -
--

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2019-10-12 15:10:37 Re: BUG #16052: pg_dump --no-comments not working
Previous Message Tom Lane 2019-10-12 14:17:37 Re: BUG #16051: PQgetvalue(res,0,0) is null, PQgetlength(res,0,0) is 10