postgresql/src/backend
Peter Geoghegan 60f1f09ff4 Don't truncate heap when VACUUM's failsafe is in effect.
It seems like a good idea to bypass heap truncation when the wraparound
failsafe mechanism (which was added in commit 1e55e7d1) is in effect.

Deliberately don't bypass heap truncation in the INDEX_CLEANUP=off case,
even though it is similar to the failsafe case.  There is already a
separate reloption (and related VACUUM parameter) for that.

Reported-By: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/CAD21AoDWRh6oTN5T8wa+cpZUVpHXET8BJ8Da7WHVHpwkPP6KLg@mail.gmail.com
2021-04-13 12:58:31 -07:00
..
access Don't truncate heap when VACUUM's failsafe is in effect. 2021-04-13 12:58:31 -07:00
bootstrap Split backend status and progress related functionality out of pgstat.c. 2021-04-03 11:42:52 -07:00
catalog Standardize pg_authid oid_symbol values. 2021-04-10 12:01:41 -07:00
commands Fix some inappropriately-disallowed uses of ALTER ROLE/DATABASE SET. 2021-04-13 15:10:18 -04:00
executor Redesign the caching done by get_cached_rowtype(). 2021-04-13 13:37:07 -04:00
foreign Update copyright for 2021 2021-01-02 13:06:25 -05:00
jit Speedup ScalarArrayOpExpr evaluation 2021-04-08 23:51:22 +12:00
lib Update copyright for 2021 2021-01-02 13:06:25 -05:00
libpq Refactor hba_authname 2021-04-07 14:24:47 +02:00
main Update copyright for 2021 2021-01-02 13:06:25 -05:00
nodes Improve slightly misleading comments in nodeFuncs.c 2021-04-10 19:19:45 +12:00
optimizer Speedup ScalarArrayOpExpr evaluation 2021-04-08 23:51:22 +12:00
parser Allow table-qualified variable names in ON CONFLICT ... WHERE. 2021-04-13 15:39:41 -04:00
partitioning Speedup ScalarArrayOpExpr evaluation 2021-04-08 23:51:22 +12:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Use errmsg_internal for debug messages 2021-02-17 11:33:25 +01:00
postmaster Set pg_class.reltuples for partitioned tables 2021-04-09 11:50:33 -04:00
regex Further tweak memory management for regex DFAs. 2021-03-08 16:32:29 -05:00
replication Allow TRUNCATE command to truncate foreign tables. 2021-04-08 20:56:08 +09:00
rewrite Clean up treatment of missing default and CHECK-constraint records. 2021-04-06 10:34:39 -04:00
snowball Update snowball 2021-02-19 08:10:15 +01:00
statistics Fix uninitialized variable from commit a4d75c86b. 2021-04-11 11:46:46 -04:00
storage Optionally prefetch referenced data in recovery. 2021-04-08 23:20:42 +12:00
tcop SQL-standard function body 2021-04-07 21:47:55 +02:00
tsearch Don't leak compiled regex(es) when an ispell cache entry is dropped. 2021-03-18 22:22:47 -04:00
utils Fix some inappropriately-disallowed uses of ALTER ROLE/DATABASE SET. 2021-04-13 15:10:18 -04:00
.gitignore
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Use sort_template.h for qsort_tuple() and qsort_ssup(). 2021-03-03 17:02:32 +13:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00