forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc591300
committed
Add rule_number to pg_hba_file_rules and map_number to pg_ident_file_mappings
These numbers are strictly-monotone identifiers assigned to each ruleof pg_hba_file_rules and each map of pg_ident_file_mappings when loadingthe HBA and ident configuration files, indicating the order in whichthey are checked at authentication time, until a match is found.With only one file loaded currently, this is equivalent to the linenumbers assigned to the entries loaded if one wants to know their order,but this becomes mandatory once the inclusion of external files isadded to the HBA and ident files to be able to know in which order therules and/or maps are applied at authentication. Note that NULL is usedwhen a HBA or ident entry cannot be parsed or validated, aka when anerror exists, contrary to the line number.Bump catalog version.Author: Julien RouhaudDiscussion:https://postgr.es/m/20220223045959.35ipdsvbxcstrhya@jrouhaud1 parent37d2644 commitc591300
File tree
5 files changed
+74
-21
lines changed- doc/src/sgml
- src
- backend/utils/adt
- include/catalog
- test/regress/expected
5 files changed
+74
-21
lines changedLines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
991 | 991 |
| |
992 | 992 |
| |
993 | 993 |
| |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
994 | 1005 |
| |
995 | 1006 |
| |
996 | 1007 |
| |
| |||
1131 | 1142 |
| |
1132 | 1143 |
| |
1133 | 1144 |
| |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
1134 | 1155 |
| |
1135 | 1156 |
| |
1136 | 1157 |
| |
|
Lines changed: 40 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 |
| - | |
| 33 | + | |
| 34 | + | |
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
| |||
157 | 159 |
| |
158 | 160 |
| |
159 | 161 |
| |
160 |
| - | |
| 162 | + | |
161 | 163 |
| |
162 | 164 |
| |
163 | 165 |
| |
164 | 166 |
| |
165 | 167 |
| |
166 | 168 |
| |
167 | 169 |
| |
| 170 | + | |
168 | 171 |
| |
169 | 172 |
| |
170 | 173 |
| |
| |||
174 | 177 |
| |
175 | 178 |
| |
176 | 179 |
| |
177 |
| - | |
| 180 | + | |
| 181 | + | |
178 | 182 |
| |
179 | 183 |
| |
180 | 184 |
| |
| |||
193 | 197 |
| |
194 | 198 |
| |
195 | 199 |
| |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
196 | 206 |
| |
197 | 207 |
| |
198 | 208 |
| |
| |||
336 | 346 |
| |
337 | 347 |
| |
338 | 348 |
| |
339 |
| - | |
| 349 | + | |
340 | 350 |
| |
341 | 351 |
| |
342 | 352 |
| |
| |||
359 | 369 |
| |
360 | 370 |
| |
361 | 371 |
| |
| 372 | + | |
362 | 373 |
| |
363 | 374 |
| |
364 | 375 |
| |
| |||
393 | 404 |
| |
394 | 405 |
| |
395 | 406 |
| |
396 |
| - | |
397 |
| - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
398 | 413 |
| |
399 | 414 |
| |
400 | 415 |
| |
| |||
431 | 446 |
| |
432 | 447 |
| |
433 | 448 |
| |
434 |
| - | |
| 449 | + | |
435 | 450 |
| |
436 | 451 |
| |
437 | 452 |
| |
438 | 453 |
| |
439 | 454 |
| |
440 | 455 |
| |
441 | 456 |
| |
| 457 | + | |
442 | 458 |
| |
443 | 459 |
| |
444 | 460 |
| |
| |||
448 | 464 |
| |
449 | 465 |
| |
450 | 466 |
| |
451 |
| - | |
| 467 | + | |
| 468 | + | |
452 | 469 |
| |
453 | 470 |
| |
454 | 471 |
| |
| |||
461 | 478 |
| |
462 | 479 |
| |
463 | 480 |
| |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
464 | 487 |
| |
465 | 488 |
| |
466 | 489 |
| |
| |||
473 | 496 |
| |
474 | 497 |
| |
475 | 498 |
| |
476 |
| - | |
| 499 | + | |
477 | 500 |
| |
478 | 501 |
| |
479 | 502 |
| |
| |||
495 | 518 |
| |
496 | 519 |
| |
497 | 520 |
| |
| 521 | + | |
498 | 522 |
| |
499 | 523 |
| |
500 | 524 |
| |
| |||
529 | 553 |
| |
530 | 554 |
| |
531 | 555 |
| |
532 |
| - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
533 | 562 |
| |
534 | 563 |
| |
535 | 564 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
|
Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6135 | 6135 |
| |
6136 | 6136 |
| |
6137 | 6137 |
| |
6138 |
| - | |
6139 |
| - | |
6140 |
| - | |
| 6138 | + | |
| 6139 | + | |
| 6140 | + | |
6141 | 6141 |
| |
6142 | 6142 |
| |
6143 | 6143 |
| |
6144 | 6144 |
| |
6145 |
| - | |
6146 |
| - | |
| 6145 | + | |
| 6146 | + | |
| 6147 | + | |
6147 | 6148 |
| |
6148 | 6149 |
| |
6149 | 6150 |
| |
|
Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1337 | 1337 |
| |
1338 | 1338 |
| |
1339 | 1339 |
| |
1340 |
| - | |
| 1340 | + | |
| 1341 | + | |
1341 | 1342 |
| |
1342 | 1343 |
| |
1343 | 1344 |
| |
| |||
1346 | 1347 |
| |
1347 | 1348 |
| |
1348 | 1349 |
| |
1349 |
| - | |
1350 |
| - | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
1351 | 1353 |
| |
1352 | 1354 |
| |
1353 | 1355 |
| |
1354 | 1356 |
| |
1355 |
| - | |
| 1357 | + | |
1356 | 1358 |
| |
1357 | 1359 |
| |
1358 | 1360 |
| |
|
0 commit comments
Comments
(0)