aboutsummaryrefslogtreecommitdiff
path: root/src/common/file_utils.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-10-26 15:22:15 +0900
committerMichael Paquier <michael@paquier.xyz>2022-10-26 15:22:15 +0900
commitc591300a8f54d9711157d9a8866f022a257ec4ee (patch)
tree4427a3ceb1c015b2137006cec57297de0d9f67a0 /src/common/file_utils.c
parent37d264478ab47e8fa03751c39ba2c5dd447b89c8 (diff)
downloadpostgresql-c591300a8f54d9711157d9a8866f022a257ec4ee.tar.gz
postgresql-c591300a8f54d9711157d9a8866f022a257ec4ee.zip
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 rule of pg_hba_file_rules and each map of pg_ident_file_mappings when loading the HBA and ident configuration files, indicating the order in which they are checked at authentication time, until a match is found. With only one file loaded currently, this is equivalent to the line numbers assigned to the entries loaded if one wants to know their order, but this becomes mandatory once the inclusion of external files is added to the HBA and ident files to be able to know in which order the rules and/or maps are applied at authentication. Note that NULL is used when a HBA or ident entry cannot be parsed or validated, aka when an error exists, contrary to the line number. Bump catalog version. Author: Julien Rouhaud Discussion: https://postgr.es/m/20220223045959.35ipdsvbxcstrhya@jrouhaud
Diffstat (limited to 'src/common/file_utils.c')
0 files changed, 0 insertions, 0 deletions