aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-10-29 12:56:24 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-10-29 12:56:35 -0400
commit5ba4cc309095eb1a947961e66b9c5156efc8ffca (patch)
treef5dfea5d9e5de0ba23fe0937e40a9b52bb5c6b9f /src/backend/utils/adt/pgstatfuncs.c
parentb2d55447a563036579d6777f64a7483dceeab6ea (diff)
downloadpostgresql-5ba4cc309095eb1a947961e66b9c5156efc8ffca.tar.gz
postgresql-5ba4cc309095eb1a947961e66b9c5156efc8ffca.zip
Teach pg_dump about the new pg_subscription.subrunasowner option.
Among numerous other oversights, commit 482675987 neglected to fix pg_dump to dump this new subscription option. Since the new default is "false" while the previous behavior corresponds to "true", this would cause legacy subscriptions to silently change behavior during dump/reload or pg_upgrade. That seems like a bad idea. Even if it was intended, failing to preserve the option once set in a new installation is certainly not OK. While here, reorder associated stanzas in pg_dump to match the field order in pg_subscription, in hopes of reducing the impression that all this code was written with the aid of a dartboard. Back-patch to v16 where this new field was added. Philip Warner (cosmetic tweaks by me) Discussion: https://postgr.es/m/20231027042539.01A3A220F0A@thebes.rime.com.au
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions