Re: pg_dumpall dumps global objects with --statistics-only or --no-schema - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: pg_dumpall dumps global objects with --statistics-only or --no-schema
Date
Msg-id 2d3aeb5264a55a792f809b78dec01018602ae3dd.camel@j-davis.com
Whole thread Raw
In response to Re: pg_dumpall dumps global objects with --statistics-only or --no-schema  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
On Mon, 2025-06-30 at 16:44 -0400, Corey Huinker wrote:
> >
> > Since pg_dumpall treats global objects as schema-level content, it
> > currently
> > includes them with --schema-only but skips them with --data-only.
> > By that logic,
> > it should also skip them when either --statistics-only or --no-
> > schema is used.

Thank you.

>
> +1, pending resolution of the defaults issue.

I went ahead and committed this as it clearly needs to be fixed. We can
continue the options discussion.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: fix organization wording in psql's \copyright command
Next
From: Peter Geoghegan
Date:
Subject: Re: Saving stack space in nbtree's _bt_first function