feat: log full pg version to stderr on connection
This commit is contained in:
committed by
Steve Chavez
parent
410fa9508b
commit
21e8ca5051
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user