pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: cdalxndr@yahoo.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #16052: pg_dump --no-comments not working
Date: Sat, 12 Oct 2019 11:10:37 -0400
Message-ID: <1698.1570893037@sss.pgh.pa.us> (raw)
In-Reply-To: <16052-43b1740ee8e2196f@postgresql.org>
References: <16052-43b1740ee8e2196f@postgresql.org>

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





view thread (2+ messages)

Message-ID: <1698.1570893037@sss.pgh.pa.us>
Permalink:  ../1698.1570893037@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1698.1570893037@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, noreply@postgresql.org
  Subject: Re: BUG #16052: pg_dump --no-comments not working
  In-Reply-To: <1698.1570893037@sss.pgh.pa.us>
  References: <16052-43b1740ee8e2196f@postgresql.org> <1698.1570893037@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox