From 20d09c47867ae847b31a1c57846e8f3a36e3da00 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Sat, 4 Jan 2020 19:52:11 +0300 Subject: [PATCH] Add some comments --- src/catalog.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/catalog.c b/src/catalog.c index ae302d48..1fe8e4b2 100644 --- a/src/catalog.c +++ b/src/catalog.c @@ -716,7 +716,10 @@ catalog_get_timelines(InstanceConfig *instance) parray *timelines; xlogFile *wal_file = NULL; - /* regular WAL file */ + /* + * Regular WAL file. + * IsXLogFileName() cannot be used here + */ if (strspn(file->name, "0123456789ABCDEF") == XLOG_FNAME_LEN) { int result = 0;