pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #16052: pg_dump --no-comments not working
2+ messages / 2 participants
[nested] [flat]

* BUG #16052: pg_dump --no-comments not working
@ 2019-10-12 14:58  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2019-10-12 14:58 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: cdalxndr@yahoo.com

The following bug has been logged on the website:

Bug reference:      16052
Logged by:          cd a
Email address:      cdalxndr@yahoo.com
PostgreSQL version: 11.5
Operating system:   Windows 10
Description:        

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
--

-- Dumped from database version 11.5
-- Dumped by pg_dump version 11.5

--
-- Name: schema; Type: SCHEMA; Schema: -; Owner: -
--



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #16052: pg_dump --no-comments not working
@ 2019-10-12 15:10  Tom Lane <tgl@sss.pgh.pa.us>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2019-10-12 15:10 UTC (permalink / raw)
  To: cdalxndr@yahoo.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-10-12 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-12 14:58 BUG #16052: pg_dump --no-comments not working PG Bug reporting form <noreply@postgresql.org>
2019-10-12 15:10 ` Tom Lane <tgl@sss.pgh.pa.us>

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