Re: [HACKERS] proposal - pg_dump: flag to suppress output of SQL comments

2017-11-06 Thread Tom Lane
Malcolm Locke writes: > Would a patch to add a flag to pg_dump to suppress the output of SQL > comments be likely to be accepted? Not unless you can come up with a better rationale than this: > The SQL generated by pg_dump seems to be fairly constant between > Postgres

[HACKERS] proposal - pg_dump: flag to suppress output of SQL comments

2017-11-06 Thread Malcolm Locke
Hello Hackers, Would a patch to add a flag to pg_dump to suppress the output of SQL comments be likely to be accepted? So for example `pg_dump`: -- -- Name: foos; Type: TABLE; Schema: public; Owner: - -- CREATE TABLE foos ( ... With `pg_dump --no-sql-comments` Would become: