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

Commit 668cba1

Browse files
committed
Merge branch 'PGPROEE9_6_CFS_385' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into PGPROEE9_6_CFS_385
2 parents 48d4a13 + de748f3 commit 668cba1

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)