Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c3036a6

Browse files
committed
Merge branch 'PGPROEE9_6_CFS_385' into PGPROEE9_6
2 parents a0941bc + 668cba1 commit c3036a6

File tree

1 file changed

+3
-2
lines changed
  • src/backend/storage/file

1 file changed

+3
-2
lines changed

src/backend/storage/file/cfs.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,9 @@ void cfs_initialize()
424424
if (cfs_encryption)
425425
cfs_crypto_init();
426426

427-
elog(LOG, "Start CFS version %s compression algorithm %s encryption %s GC %s",
428-
CFS_VERSION, cfs_algorithm(), cfs_encryption ? "enabled" : "disabled", cfs_gc_enabled ? "enabled" : "disabled");
427+
if (IsPostmasterEnvironment)
428+
elog(LOG, "Start CFS version %s compression algorithm %s encryption %s GC %s",
429+
CFS_VERSION, cfs_algorithm(), cfs_encryption ? "enabled" : "disabled", cfs_gc_enabled ? "enabled" : "disabled");
429430
}
430431
}
431432
int cfs_msync(FileMap* map)

0 commit comments

Comments
 (0)