Commit ff5da5f
authored
Avoid unnecessary overhead during connection reset (MagicStack#648)
UNLISTEN is now available in Hot Standby mode in all supported
PostgreSQL versions, therefore there's no reason anymore to wrap
it in DO block. This should significantly speed up connection reset.1 parent 0dd636f commit ff5da5f
1 file changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1501 | 1501 | | |
1502 | 1502 | | |
1503 | 1503 | | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
1513 | | - | |
| 1504 | + | |
1514 | 1505 | | |
1515 | 1506 | | |
1516 | 1507 | | |
| |||
0 commit comments