PG Bug reporting form <noreply@postgresql.org> 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