PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID16052
PG Version11.5
OSWindows 10
Opened2019-10-12 14:58:30+00
Reported bycd a

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      16052
Logged by:          cd a
Email address:      (redacted)
PostgreSQL version: 11.5
Operating system:   Windows 10

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


2019-10-12 14:58:30+00PG Bug reporting formBUG #16052: pg_dump --no-comments not working
2019-10-12 15:10:37+00Tom LaneRe: BUG #16052: pg_dump --no-comments not working