pg_dump --no-comments confusion

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_dump --no-comments confusion
Date: 2024-11-04 14:41:06
Message-ID: ZyjdAjEsXbFPkD3t@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Someone emailed me privately saying they were confused because they
thought pg_dump --no-comments would remove SQL comments, not the SQL
COMMENT commands. Is this something worth clarifying in our docs? I am
not even sure how I would express it. It currently says:

--no-comments
Do not dump comments.

We could change it to:

--no-comments
Do not dump SQL COMMENT commands

I think this is someone with limited English ability, which could
explain the confusion.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

When a patient asks the doctor, "Am I going to die?", he means
"Am I going to die soon?"

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2024-11-04 14:46:46 Re: New function normal_rand_array function to contrib/tablefunc.
Previous Message Aleksander Alekseev 2024-11-04 14:34:01 Re: New function normal_rand_array function to contrib/tablefunc.