Commit c481016
committed
Add pg_ls_archive_statusdir function
This function lists the contents of the WAL archive status directory,
and is intended to be used by monitoring tools. Unlike pg_ls_dir(),
access to it can be granted to non-superusers so that those monitoring
tools can observe the principle of least privilege. Access is also
given by default to members of pg_monitor.
Author: Christoph Moench-Tegeder
Reviewed-by: Aya Iwata
Discussion: https://postgr.es/m/20180930205920.GA64534@elch.exwg.net1 parent bfa6c5a commit c481016
File tree
5 files changed
+41
-1
lines changed- doc/src/sgml
- src
- backend
- catalog
- utils/adt
- include/catalog
5 files changed
+41
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20355 | 20355 | | |
20356 | 20356 | | |
20357 | 20357 | | |
| 20358 | + | |
| 20359 | + | |
| 20360 | + | |
| 20361 | + | |
| 20362 | + | |
| 20363 | + | |
| 20364 | + | |
| 20365 | + | |
| 20366 | + | |
| 20367 | + | |
| 20368 | + | |
| 20369 | + | |
20358 | 20370 | | |
20359 | 20371 | | |
20360 | 20372 | | |
| |||
20442 | 20454 | | |
20443 | 20455 | | |
20444 | 20456 | | |
| 20457 | + | |
| 20458 | + | |
| 20459 | + | |
| 20460 | + | |
| 20461 | + | |
| 20462 | + | |
| 20463 | + | |
| 20464 | + | |
| 20465 | + | |
| 20466 | + | |
| 20467 | + | |
| 20468 | + | |
20445 | 20469 | | |
20446 | 20470 | | |
20447 | 20471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1150 | 1150 | | |
1151 | 1151 | | |
1152 | 1152 | | |
| 1153 | + | |
1153 | 1154 | | |
1154 | 1155 | | |
1155 | 1156 | | |
| |||
1172 | 1173 | | |
1173 | 1174 | | |
1174 | 1175 | | |
| 1176 | + | |
1175 | 1177 | | |
1176 | 1178 | | |
1177 | 1179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10200 | 10200 | | |
10201 | 10201 | | |
10202 | 10202 | | |
| 10203 | + | |
| 10204 | + | |
| 10205 | + | |
| 10206 | + | |
| 10207 | + | |
10203 | 10208 | | |
10204 | 10209 | | |
10205 | 10210 | | |
| |||
0 commit comments