Closed adamguo0 closed 9 months ago
Users/databases on pgtle.clientauth_users_to_skip and pgtle.clientauth_databases_to_skip do not take effect if their names are mixed case.
pgtle.clientauth_users_to_skip
pgtle.clientauth_databases_to_skip
CREATE ROLE "MixedCase";
ALTER SYSTEM SET pgtle.clientauth_users_to_skip = 'MixedCase'; SELECT pg_reload_conf()
MixedCase
Clientauth function should be skipped for MixedCase.
Clientauth function is executed.
This behaviour can be reproduced similarly for mixed-case database names.
Merged
Description
Users/databases on
pgtle.clientauth_users_to_skip
andpgtle.clientauth_databases_to_skip
do not take effect if their names are mixed case.Steps to reproduce
CREATE ROLE "MixedCase";
pgtle.clientauth_users_to_skip
and reload config:ALTER SYSTEM SET pgtle.clientauth_users_to_skip = 'MixedCase'; SELECT pg_reload_conf()
MixedCase
Expected outcome
Clientauth function should be skipped for
MixedCase
.Actual outcome
Clientauth function is executed.
This behaviour can be reproduced similarly for mixed-case database names.