postgresql/src
Tom Lane 29d6808ede CREATE INDEX: do update index stats if autovacuum=off.
This fixes a thinko from commit d611f8b15.  The intent was to prevent
updating the stats of the pre-existing heap if autovacuum is off,
but it also disabled updating the stats of the just-created index.
There is AFAICS no good reason to do the latter, since there could not
be any pre-existing stats to refrain from overwriting, and the zeroed
stats that are there to begin with are very unlikely to be useful.
Moreover, the change broke our cross-version upgrade tests again.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1116282.1741374848@sss.pgh.pa.us
2025-03-10 17:49:27 -04:00
..
backend CREATE INDEX: do update index stats if autovacuum=off. 2025-03-10 17:49:27 -04:00
bin Don't convert to and from floats in pg_dump. 2025-03-08 11:25:36 -08:00
common Change relpath() et al to return path by value 2025-02-25 09:02:07 -05:00
fe_utils Get rid of O(N^2) script-parsing overhead in pgbench. 2025-02-27 10:53:38 -05:00
include Use extended stats for precise estimation of bucket size in hash join 2025-03-10 13:42:01 +02:00
interfaces ecpg: Fix compiler warning in ecpg build with Meson. 2025-03-06 08:22:30 +09:00
makefiles Add support for OAUTHBEARER SASL mechanism 2025-02-20 16:25:17 +01:00
pl Include column name in build_attrmap_by_position's error reports. 2025-03-07 13:24:20 -05:00
port Assert that wrapper_handler()'s argument is within expected range. 2025-03-07 15:23:09 -06:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Use extended stats for precise estimation of bucket size in hash join 2025-03-10 13:42:01 +02:00
timezone Update time zone data files to tzdata release 2025a. 2025-01-20 16:49:15 -05:00
tools Compress TID lists when writing GIN tuples to disk 2025-03-04 19:02:05 +01:00
tutorial Doc: simplify the tutorial's window-function examples. 2025-01-21 14:43:21 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Add support for OAUTHBEARER SASL mechanism 2025-02-20 16:25:17 +01:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00