Skip to content

Commit 0965e2d

Browse files
committed
Call cfs_control_gc only from postmaster
1 parent 186493c commit 0965e2d

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/misc

1 file changed

+1
-1
lines changed

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10858,7 +10858,7 @@ show_log_file_mode(void)
1085810858
static void set_cfs_gc_enabled(bool newval, void* extra)
1085910859
{
1086010860
cfs_gc_enabled = newval;
10861-
if (cfs_state)
10861+
if (cfs_state && MyProcPid == PostmasterPid)
1086210862
cfs_control_gc(newval);
1086310863
}
1086410864

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy