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