Re: pg_dumpall --roles-only interact with other options - Mailing list pgsql-hackers

From Zsolt Parragi
Subject Re: pg_dumpall --roles-only interact with other options
Date
Msg-id CAN4CZFOMLc0j1tCjAKu5+sWoHeYZqE3T5DC=0NuoX+SRhYfwQw@mail.gmail.com
Whole thread Raw
In response to Re: pg_dumpall --roles-only interact with other options  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
Hello!

Should these work? (currently these don't result in errors, but
doesn't seem to be useful in practice)

pg_dumpall --globals-only --no-schema
pg_dumpall --globals-only --data-only

Also previously the code had a check that certain flags
(--statistics-only, --data-only, --no-schema) didn't dump roles and
tablespaces. With the current patch, this is no longer true, and that
doesn't seem to be an intended change, at least it's not explained in
the commit message. The removed condition that causes this was already
mentioned previously, but without explicitly stating that this results
in a behavior change.



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: [BUG?] macOS (Intel) build warnings: "ranlib: file … has no symbols" for aarch64 objects
Next
From: Álvaro Herrera
Date:
Subject: Re: On non-Windows, hard depend on uselocale(3)