Commit 030273b
committed
Fix inadequacies in recently added wait events
In commit 9915de6, we introduced a new wait point for replication
slots and incorrectly labelled it as wait event PG_WAIT_LOCK. That's
wrong, so invent an appropriate new wait event instead, and document it
properly.
While at it, fix numerous other problems in the vicinity:
- two different walreceiver wait events were being mixed up in a single
wait event (which wasn't documented either); split it out so that they
can be distinguished, and document the new events properly.
- ParallelBitmapPopulate was documented but didn't exist.
- ParallelBitmapScan was not documented (I think this should be called
"ParallelBitmapScanInit" instead.)
- Logical replication wait events weren't documented
- various symbols had been added in dartboard order in various places.
Put them in alphabetical order instead, as was originally intended.
Discussion: https://postgr.es/m/20170808181131.mu4fjepuh5m75cyq@alvherre.pgsql1 parent b4a2eea commit 030273b
File tree
5 files changed
+64
-27
lines changed- doc/src/sgml
- src
- backend
- postmaster
- replication
- libpqwalreceiver
- include
5 files changed
+64
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1175 | 1175 | | |
1176 | 1176 | | |
1177 | 1177 | | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
1178 | 1186 | | |
1179 | 1187 | | |
1180 | 1188 | | |
| |||
1212 | 1220 | | |
1213 | 1221 | | |
1214 | 1222 | | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1215 | 1231 | | |
1216 | 1232 | | |
1217 | 1233 | | |
| |||
1250 | 1266 | | |
1251 | 1267 | | |
1252 | 1268 | | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
1253 | 1277 | | |
1254 | 1278 | | |
1255 | 1279 | | |
| |||
1271 | 1295 | | |
1272 | 1296 | | |
1273 | 1297 | | |
1274 | | - | |
1275 | | - | |
| 1298 | + | |
| 1299 | + | |
1276 | 1300 | | |
1277 | 1301 | | |
1278 | 1302 | | |
1279 | 1303 | | |
1280 | 1304 | | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
1281 | 1309 | | |
1282 | 1310 | | |
1283 | 1311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3481 | 3481 | | |
3482 | 3482 | | |
3483 | 3483 | | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
3484 | 3490 | | |
3485 | 3491 | | |
3486 | 3492 | | |
| |||
3502 | 3508 | | |
3503 | 3509 | | |
3504 | 3510 | | |
3505 | | - | |
3506 | | - | |
3507 | | - | |
3508 | | - | |
3509 | | - | |
3510 | | - | |
3511 | 3511 | | |
3512 | 3512 | | |
3513 | 3513 | | |
| |||
3533 | 3533 | | |
3534 | 3534 | | |
3535 | 3535 | | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
| 3541 | + | |
3536 | 3542 | | |
3537 | 3543 | | |
3538 | 3544 | | |
3539 | 3545 | | |
3540 | 3546 | | |
3541 | 3547 | | |
3542 | | - | |
3543 | | - | |
3544 | | - | |
3545 | 3548 | | |
3546 | 3549 | | |
3547 | 3550 | | |
| |||
3579 | 3582 | | |
3580 | 3583 | | |
3581 | 3584 | | |
| 3585 | + | |
| 3586 | + | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
3582 | 3591 | | |
3583 | 3592 | | |
3584 | 3593 | | |
| |||
3600 | 3609 | | |
3601 | 3610 | | |
3602 | 3611 | | |
| 3612 | + | |
| 3613 | + | |
| 3614 | + | |
3603 | 3615 | | |
3604 | 3616 | | |
3605 | 3617 | | |
3606 | 3618 | | |
3607 | 3619 | | |
3608 | 3620 | | |
3609 | | - | |
3610 | | - | |
3611 | | - | |
3612 | | - | |
3613 | | - | |
3614 | | - | |
3615 | 3621 | | |
3616 | 3622 | | |
3617 | 3623 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
| 585 | + | |
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| 762 | + | |
| 763 | + | |
762 | 764 | | |
763 | 765 | | |
764 | 766 | | |
765 | 767 | | |
766 | 768 | | |
767 | 769 | | |
768 | | - | |
769 | | - | |
770 | | - | |
| 770 | + | |
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
| 785 | + | |
| 786 | + | |
785 | 787 | | |
786 | 788 | | |
787 | | - | |
788 | 789 | | |
789 | 790 | | |
790 | 791 | | |
| |||
802 | 803 | | |
803 | 804 | | |
804 | 805 | | |
| 806 | + | |
| 807 | + | |
805 | 808 | | |
806 | 809 | | |
807 | 810 | | |
808 | 811 | | |
809 | 812 | | |
810 | 813 | | |
811 | 814 | | |
| 815 | + | |
812 | 816 | | |
813 | | - | |
814 | | - | |
815 | | - | |
| 817 | + | |
816 | 818 | | |
817 | 819 | | |
818 | 820 | | |
| |||
0 commit comments