aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2024-01-11 08:56:27 +0530
committerAmit Kapila <akapila@postgresql.org>2024-01-11 08:56:27 +0530
commit6f97ef05d62a9c4ed5c53e98ac8a44cf3e0a2780 (patch)
treed0f5845717d63acce96356d591ede5aebe3f0204 /src/tutorial/basics.source
parentf7f694b21400b14696dd8e85747dcef845e959ff (diff)
downloadpostgresql-6f97ef05d62a9c4ed5c53e98ac8a44cf3e0a2780.tar.gz
postgresql-6f97ef05d62a9c4ed5c53e98ac8a44cf3e0a2780.zip
Fix an intermetant BF failure in 003_logical_slots.
During upgrade, when pg_restore performs CREATE DATABASE, bgwriter or checkpointer may flush buffers and hold a file handle for pg_largeobject, so later TRUNCATE pg_largeobject command will fail if OS (such as older Windows versions) doesn't remove an unlinked file completely till it's open. The probability of seeing this behavior is higher in this test because we use wal_level as logical via allows_streaming => 'logical' which in turn set shared_buffers as 1MB and make it more probable for bgwriter to hold the file handle. Diagnosed-by: Alexander Lakhin Author: Hayato Kuroda, Amit Kapila Reviewed-by: Alexander Lakhin Discussion: https://postgr.es/m/TYAPR01MB5866AB7FD922CE30A2565B8BF5A8A@TYAPR01MB5866.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions