postgresql/src/bin
Tom Lane 1e0841426e In pg_dump, don't dump a stats object unless dumping underlying table.
If the underlying table isn't being dumped, it's useless to dump
an extended statistics object; it'll just cause errors at restore.
We have always applied similar policies to, say, indexes.

(When and if we get cross-table stats objects, it might be profitable
to think a little harder about what to do with them.  But for now
there seems no point in considering a stats object as anything but
an appendage of its table.)

Rian McGuire and Tom Lane, per report from Rian McGuire.
Back-patch to supported branches.

Discussion: https://postgr.es/m/7075d3aa-3f05-44a5-b68f-47dc6a8a0550@buildkite.com
2023-12-29 10:57:11 -05:00
..
initdb Translation updates 2023-11-06 13:16:22 +01:00
pg_amcheck Handle DROP DATABASE getting interrupted 2023-07-13 13:04:45 -07:00
pg_archivecleanup Translation updates 2023-05-08 14:29:57 +02:00
pg_basebackup Translation updates 2023-11-06 13:16:22 +01:00
pg_checksums Translation updates 2023-05-08 14:29:57 +02:00
pg_config Translation updates 2023-11-06 13:16:22 +01:00
pg_controldata Translation updates 2023-11-06 13:16:22 +01:00
pg_ctl Translation updates 2023-11-06 13:16:22 +01:00
pg_dump In pg_dump, don't dump a stats object unless dumping underlying table. 2023-12-29 10:57:11 -05:00
pg_resetwal Translation updates 2023-11-06 13:16:22 +01:00
pg_rewind Translation updates 2023-11-06 13:16:22 +01:00
pg_test_fsync Translation updates 2023-05-08 14:29:57 +02:00
pg_test_timing Translation updates 2023-05-08 14:29:57 +02:00
pg_upgrade Fix path of regress shared library in pg_upgrade test 2023-12-08 10:37:37 +09:00
pg_verifybackup Translation updates 2023-11-06 13:16:22 +01:00
pg_waldump Translation updates 2023-11-06 13:16:22 +01:00
pgbench Don't use pgbench -j in tests 2023-12-04 14:00:51 +01:00
pgevent Update copyright for 2022 2022-01-07 19:04:57 -05:00
psql Translation updates 2023-11-06 13:16:22 +01:00
scripts Translation updates 2023-11-06 13:16:22 +01:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00