feat: log full pg version to stderr on connection

This commit is contained in:
steve-chavez
2024-02-10 19:21:55 -05:00
committed by Steve Chavez
parent 410fa9508b
commit 21e8ca5051
3 changed files with 18 additions and 17 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ internalConnectionWorker appState = work
putPgVersion appState actualPgVersion
when configDbChannelEnabled $
signalListener appState
logWithZTime appState "Connection successful"
logWithZTime appState $ "Successfully connected to " <> pgvFullName actualPgVersion
-- this could be fail because the connection drops, but the loadSchemaCache will pick the error and retry again
-- We cannot retry after it fails immediately, because db-pre-config could have user errors. We just log the error and continue.
when configDbConfig $ reReadConfig False appState