On Mon, Nov 4, 2024 at 07:49:45PM +0100, Daniel Gustafsson wrote:
> > On 4 Nov 2024, at 17:24, Erik Wienhold <[email protected]> wrote:
> > But I also think that
> > "SQL" in front of the command name is unnecessary because the man page
> > uses the "FOOBAR command" form throughout
>
> Agreed.
>
> > --inserts
> > Dump data as INSERT commands [...]
> >
> > Also, it doesn't really matter whether COMMENT is standard SQL.
>
> AFAIK some flavor of COMMENT is present in MySQL, PostgreSQL and Oracle which
> already makes it more "standardized" than many parts of the SQL standard =)
Proposed patch attached.
--
Bruce Momjian <[email protected]> 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?"
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index ffc29b04fb7..d66e901f51b 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -1075,7 +1075,7 @@ PostgreSQL documentation
<term><option>--no-comments</option></term>
<listitem>
<para>
- Do not dump comments.
+ Do not dump <command>COMMENT</command> commands.
</para>
</listitem>
</varlistentry>