| From: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com> |
|---|---|
| To: | jian he <jian(dot)universality(at)gmail(dot)com> |
| Cc: | wangpeng <215722532(at)qq(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: pg_dumpall --roles-only interact with other options |
| Date: | 2026-02-04 19:20:14 |
| Message-ID: | CAN4CZFOMLc0j1tCjAKu5+sWoHeYZqE3T5DC=0NuoX+SRhYfwQw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-02-04 19:51:57 | Re: On non-Windows, hard depend on uselocale(3) |
| Previous Message | Nathan Bossart | 2026-02-04 18:42:28 | Re: [BUG?] macOS (Intel) build warnings: "ranlib: file … has no symbols" for aarch64 objects |