forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff68cc6

Amit Kapila
Stop the search once the slot for replication origin is found.
In replorigin_session_setup(), we were needlessly looping formax_replication_slots even after finding an existing slot for the origin.This shouldn't hurt us much except for probably large values ofmax_replication_slots.Author: Antonin HouskaDiscussion:http://postgr.es/m/2694.1700471273@antos1 parentcf359a0 commitff68cc6
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1144 | 1144 |
| |
1145 | 1145 |
| |
1146 | 1146 |
| |
| 1147 | + | |
1147 | 1148 |
| |
1148 | 1149 |
| |
1149 | 1150 |
| |
|
0 commit comments
Comments
(0)