Re: pg_dump --no-comments confusion - Mailing list pgsql-hackers

From Marcos Pegoraro
Subject Re: pg_dump --no-comments confusion
Date
Msg-id CAB-JLwbzK63Vn=Dv9wSje0BsAdTXTgau5cwVZkG1ZvTBjJcabQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump --no-comments confusion  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pg_dump --no-comments confusion
Re: pg_dump --no-comments confusion
List pgsql-hackers
But it would be good to have this patch applied to all supported versions, as soon as nothing was changed on that pg_dump option, no ?

regards
Marcos

Em seg., 18 de nov. de 2024 às 18:30, Bruce Momjian <bruce@momjian.us> escreveu:
On Tue, Nov  5, 2024 at 10:12:20AM +0100, Álvaro Herrera wrote:
> On 2024-Nov-04, Erik Wienhold wrote:
>
> > I think Bruce's suggestion is pretty clear that it does not mean line or
> > block comments, but rather the COMMENT command.  But I also think that
> > "SQL" in front of the command name is unnecessary [...]
>
> +1 for "Do not dump COMMENT commands", which is what I think you're
> saying.

Patch applied to master.

--
  Bruce Momjian  <bruce@momjian.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?"


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_dump --no-comments confusion
Next
From: Bruce Momjian
Date:
Subject: Re: pg_dump --no-comments confusion