forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3e707fb
committed
psql: add \dconfig command to show server's configuration parameters.
Plain \dconfig is basically equivalent to SHOW except that you cangive it a pattern with wildcards, either to match multiple GUCs orbecause you don't exactly remember the name you want.\dconfig+ adds type, context, and access-privilege information,mainly because every other kind of object privilege has a psql commandto show it, so GUC privileges should too. (A form of this command wasin some versions of the patch series leading up to commita0ffa88.We pulled it out then because of doubts that the design and code wereup to snuff, but I think subsequent work has resolved that.)In passing, fix incorrect completion of GUC names in GRANT/REVOKEON PARAMETER:a0ffa88 neglected to use the VERBATIM form ofCOMPLETE_WITH_QUERY, so it misbehaved for custom (qualified) GUCnames.Mark Dilger and Tom LaneDiscussion:https://postgr.es/m/3118455.1649267333@sss.pgh.pa.us1 parent16acf7f commit3e707fb
File tree
10 files changed
+127
-6
lines changed- doc/src/sgml
- ref
- src
- bin/psql
- fe_utils
- test/regress
- expected
- sql
10 files changed
+127
-6
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2205 | 2205 |
| |
2206 | 2206 |
| |
2207 | 2207 |
| |
2208 |
| - | |
| 2208 | + | |
2209 | 2209 |
| |
2210 | 2210 |
| |
2211 | 2211 |
| |
|
Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1380 | 1380 |
| |
1381 | 1381 |
| |
1382 | 1382 |
| |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
1383 | 1400 |
| |
1384 | 1401 |
| |
1385 | 1402 |
| |
|
Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
780 | 780 |
| |
781 | 781 |
| |
782 | 782 |
| |
783 |
| - | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
784 | 791 |
| |
785 | 792 |
| |
786 | 793 |
| |
|
Lines changed: 62 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4364 | 4364 |
| |
4365 | 4365 |
| |
4366 | 4366 |
| |
| 4367 | + | |
| 4368 | + | |
| 4369 | + | |
| 4370 | + | |
| 4371 | + | |
| 4372 | + | |
| 4373 | + | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
| 4381 | + | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
| 4391 | + | |
| 4392 | + | |
| 4393 | + | |
| 4394 | + | |
| 4395 | + | |
| 4396 | + | |
| 4397 | + | |
| 4398 | + | |
| 4399 | + | |
| 4400 | + | |
| 4401 | + | |
| 4402 | + | |
| 4403 | + | |
| 4404 | + | |
| 4405 | + | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
| 4409 | + | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
| 4413 | + | |
| 4414 | + | |
| 4415 | + | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
| 4419 | + | |
| 4420 | + | |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
| 4424 | + | |
| 4425 | + | |
| 4426 | + | |
| 4427 | + | |
| 4428 | + | |
4367 | 4429 |
| |
4368 | 4430 |
| |
4369 | 4431 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
79 | 83 |
| |
80 | 84 |
| |
81 | 85 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
166 | 166 |
| |
167 | 167 |
| |
168 | 168 |
| |
169 |
| - | |
| 169 | + | |
170 | 170 |
| |
171 | 171 |
| |
172 | 172 |
| |
| |||
231 | 231 |
| |
232 | 232 |
| |
233 | 233 |
| |
| 234 | + | |
234 | 235 |
| |
235 | 236 |
| |
236 | 237 |
| |
|
Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1004 | 1004 |
| |
1005 | 1005 |
| |
1006 | 1006 |
| |
| 1007 | + | |
1007 | 1008 |
| |
1008 | 1009 |
| |
1009 | 1010 |
| |
| |||
1690 | 1691 |
| |
1691 | 1692 |
| |
1692 | 1693 |
| |
1693 |
| - | |
| 1694 | + | |
1694 | 1695 |
| |
1695 | 1696 |
| |
1696 | 1697 |
| |
| |||
3780 | 3781 |
| |
3781 | 3782 |
| |
3782 | 3783 |
| |
3783 |
| - | |
| 3784 | + | |
3784 | 3785 |
| |
3785 | 3786 |
| |
3786 | 3787 |
| |
| |||
4532 | 4533 |
| |
4533 | 4534 |
| |
4534 | 4535 |
| |
| 4536 | + | |
| 4537 | + | |
4535 | 4538 |
| |
4536 | 4539 |
| |
4537 | 4540 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
918 | 918 |
| |
919 | 919 |
| |
920 | 920 |
| |
| 921 | + | |
| 922 | + | |
| 923 | + | |
921 | 924 |
| |
922 |
| - | |
| 925 | + | |
| 926 | + | |
923 | 927 |
| |
924 | 928 |
| |
925 | 929 |
| |
|
Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5090 | 5090 |
| |
5091 | 5091 |
| |
5092 | 5092 |
| |
| 5093 | + | |
| 5094 | + | |
| 5095 | + | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
| 5099 | + | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
| 5109 | + | |
5093 | 5110 |
| |
5094 | 5111 |
| |
5095 | 5112 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1241 | 1241 |
| |
1242 | 1242 |
| |
1243 | 1243 |
| |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1244 | 1250 |
| |
1245 | 1251 |
| |
1246 | 1252 |
| |
|
0 commit comments
Comments
(0)