2
0

fix standby mode validation

This commit is contained in:
Oscar
2021-12-28 14:56:49 +01:00
committed by Jack Christensen
parent 3aaf3409ce
commit 109c4c2d95
+1 -1
View File
@@ -760,7 +760,7 @@ func ValidateConnectTargetSessionAttrsStandby(ctx context.Context, pgConn *PgCon
return result.Err
}
if string(result.Rows[0][0]) != "f" {
if string(result.Rows[0][0]) != "t" {
return errors.New("server is not in hot standby mode")
}