- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitaa817c7
committed
Avoid useless ReplicationOriginExitCleanup locking
When session_replication_state is NULL, we can know there's nothing todo with no lock acquisition. Do that.Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>Discussion:https://postgr.es/m/CALj2ACX+YaeRU5xJqR4C7kLsTO_F7DBRNF8WgeHvJZcKtNuK_A@mail.gmail.com1 parent31acee4 commitaa817c7
1 file changed
+8
-5
lines changedLines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
175 |
| - | |
176 |
| - | |
177 |
| - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
178 | 179 |
| |
179 | 180 |
| |
180 | 181 |
| |
| |||
1056 | 1057 |
| |
1057 | 1058 |
| |
1058 | 1059 |
| |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
1059 | 1063 |
| |
1060 | 1064 |
| |
1061 |
| - | |
1062 |
| - | |
| 1065 | + | |
1063 | 1066 |
| |
1064 | 1067 |
| |
1065 | 1068 |
| |
|
0 commit comments
Comments
(0)