mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-19 14:10:37 +00:00
Update pgxn/neon/pagestore_smgr.c
Co-authored-by: Heikki Linnakangas <heikki@neon.tech>
This commit is contained in:
committed by
Konstantin Knizhnik
parent
657c63b9cb
commit
9955d02a01
@@ -2169,7 +2169,7 @@ neon_end_unlogged_build(SMgrRelation reln)
|
||||
rinfo,
|
||||
MAIN_FORKNUM);
|
||||
|
||||
/* Obtain exclusive lock to prevent concrrent writes to the file while we performing cleanup */
|
||||
/* Obtain exclusive lock to prevent concurrent writes to the file while we perform cleanup */
|
||||
LWLockAcquire(finish_unlogged_build_lock, LW_EXCLUSIVE);
|
||||
unlogged_build_rel_entry->relperst = NEON_RELPERSISTENCE_PERMANENT;
|
||||
LWLockRelease(finish_unlogged_build_lock);
|
||||
|
||||
Reference in New Issue
Block a user