pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: Corey Huinker <corey.huinker@gmail.com>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: pg_dumpall dumps global objects with --statistics-only or --no-schema
Date: Wed, 16 Jul 2025 10:03:44 -0700
Message-ID: <2d3aeb5264a55a792f809b78dec01018602ae3dd.camel@j-davis.com> (raw)
In-Reply-To: <CADkLM=fX0JFB07djiY8i9r0Qam5KdHjqxqyVoA9_ALuBJaCr5Q@mail.gmail.com>
References: <08129593-6f3c-4fb9-94b7-5aa2eefb99b0@oss.nttdata.com>
	<CADkLM=fX0JFB07djiY8i9r0Qam5KdHjqxqyVoA9_ALuBJaCr5Q@mail.gmail.com>

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






view thread (3+ messages)

Message-ID: <2d3aeb5264a55a792f809b78dec01018602ae3dd.camel@j-davis.com>
Permalink:  ../2d3aeb5264a55a792f809b78dec01018602ae3dd.camel@j-davis.com/
Also on:    postgresql.org/message-id/2d3aeb5264a55a792f809b78dec01018602ae3dd.camel@j-davis.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pgsql@j-davis.com, corey.huinker@gmail.com, masao.fujii@oss.nttdata.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: pg_dumpall dumps global objects with --statistics-only or --no-schema
  In-Reply-To: <2d3aeb5264a55a792f809b78dec01018602ae3dd.camel@j-davis.com>

* 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