postgresql/src/backend
Andres Freund 1fabec7d7c fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().
While individual logical rewrite files were synced to disk, the directory was
not. On some filesystems that could lead to loosing directory entries after a
crash.

Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
Author: Nathan Bossart <bossartn@amazon.com>
Discussion: https://postgr.es/m/867F2E29-2782-4869-970E-B984C6D35A8F@amazon.com
Backpatch: 10-
2022-01-21 11:22:55 -08:00
..
access fsync pg_logical/mappings in CheckPointLogicalRewriteHeap(). 2022-01-21 11:22:55 -08:00
bootstrap pg_upgrade: Preserve relfilenodes and tablespace OIDs. 2022-01-17 13:40:27 -05:00
catalog pg_upgrade: Preserve relfilenodes and tablespace OIDs. 2022-01-17 13:40:27 -05:00
commands Remove 'datlastsysoid'. 2022-01-20 09:01:12 -05:00
executor Fix memory leak in indexUnchanged hint mechanism. 2022-01-12 15:41:04 -08:00
foreign Update copyright for 2022 2022-01-07 19:04:57 -05:00
jit Update copyright for 2022 2022-01-07 19:04:57 -05:00
lib Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq Improve error handling of HMAC computations 2022-01-13 16:17:21 +09:00
main Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodes Fix for new Boolean node 2022-01-17 13:59:46 +01:00
optimizer Teach hash_ok_operator() that record_eq is only sometimes hashable. 2022-01-16 16:39:26 -05:00
parser Add Boolean node 2022-01-17 10:38:23 +01:00
partitioning Update copyright for 2022 2022-01-07 19:04:57 -05:00
po Translation updates 2021-06-21 12:33:50 +02:00
port Update copyright for 2022 2022-01-07 19:04:57 -05:00
postmaster Introduce log_destination=jsonlog 2022-01-17 10:16:53 +09:00
regex Call pg_newlocale_from_collation() also with default collation 2022-01-20 09:50:18 +01:00
replication Support base backup targets. 2022-01-20 10:46:33 -05:00
rewrite Update copyright for 2022 2022-01-07 19:04:57 -05:00
snowball Update copyright for 2022 2022-01-07 19:04:57 -05:00
statistics Add stxdinherit flag to pg_statistic_ext_data 2022-01-16 13:38:01 +01:00
storage Consistently use the function name CreateCheckPoint in code and comments. 2022-01-17 07:50:00 +05:30
tcop Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsearch Update copyright for 2022 2022-01-07 19:04:57 -05:00
utils Support base backup targets. 2022-01-20 10:46:33 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00
nls.mk Report progress of startup operations that take a long time. 2021-10-25 11:51:57 -04:00