aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-10-24 13:48:34 +0900
committerMichael Paquier <michael@paquier.xyz>2022-10-24 13:56:34 +0900
commit14a737bfdbe4f2328d7f333b207f52f9ed4ee722 (patch)
tree196ced77018ccacf23919128927cd1a63d4040ff /src/backend/parser/parse_expr.c
parent8fea86830e1d40961fd3cba59a73fca178417c78 (diff)
downloadpostgresql-14a737bfdbe4f2328d7f333b207f52f9ed4ee722.tar.gz
postgresql-14a737bfdbe4f2328d7f333b207f52f9ed4ee722.zip
Fix and improve TAP tests for pg_hba.conf and regexps
The new tests have been reporting a warning hidden in the logs, as of "Odd number of elements in hash assignment" (perlcritic or similar did not report an issue, actually). This comes down to a typo in the test "matching regexp for username" for a double-quoted regexp using commas, where we passed an extra argument. The test is intended to pass, but this was causing the test to fail. This also pointed out that the newly-added role "md5,role" lacks an entry in the password file used to provide the password, so add one. While on it, make the tests pickier by checking the contents of the logs generated on successful authentication. Oversights in 8fea868.
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions