Content-Length: 263122 | pFad | http://github.com/postgrespro/postgres_cluster/commit/86331aed99932b96199b19e6f644f0b32f887690

BE Do not output CFS message during initialization · postgrespro/postgres_cluster@86331ae · GitHub
Skip to content

Commit 86331ae

Browse files
committed
Do not output CFS message during initialization
1 parent 37ffa35 commit 86331ae

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/86331aed99932b96199b19e6f644f0b32f887690

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy