diff options
author | Jeff Davis <jdavis@postgresql.org> | 2025-07-16 09:57:12 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2025-07-16 09:57:12 -0700 |
commit | 48c2c7b4b45b3bb696d566f4f425fccdd871532f (patch) | |
tree | 675c0db8074113953a8eb7950bdb0ea0dac08efb /src/backend/utils/adt/xml.c | |
parent | ecc5161a0bd3cba8dda7ece98e0848856b97b7a1 (diff) | |
download | postgresql-48c2c7b4b45b3bb696d566f4f425fccdd871532f.tar.gz postgresql-48c2c7b4b45b3bb696d566f4f425fccdd871532f.zip |
pg_dumpall: Skip global objects with --statistics-only or --no-schema.
Previously, pg_dumpall would still dump global objects such as roles
and tablespaces even when --statistics-only or --no-schema was specified.
Since these global objects are treated as schema-level data, they should
be skipped in these cases.
This commit fixes the issue by ensuring that global objects are not
dumped when either --statistics-only or --no-schema is used.
Author: Fujii Masao <masao.fujii@oss.nttdata.com>
Reviewed-by: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://postgr.es/m/08129593-6f3c-4fb9-94b7-5aa2eefb99b0@oss.nttdata.com
Backpatch-through: 18
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions