diff options
author | Nathan Bossart <nathan@postgresql.org> | 2023-07-17 11:44:59 -0700 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2023-07-17 11:44:59 -0700 |
commit | 884eee5bfb5ab902413dc00ccee5b3e3f1c505d0 (patch) | |
tree | e4c4b1f32c835be148c07b1e46a7917f16ecea31 /src/backend/libpq/auth.c | |
parent | 2c2eb0d6b27f498851bace47fc19e4c7fc90af4f (diff) | |
download | postgresql-884eee5bfb5ab902413dc00ccee5b3e3f1c505d0.tar.gz postgresql-884eee5bfb5ab902413dc00ccee5b3e3f1c505d0.zip |
Remove db_user_namespace.
This feature was intended to be a temporary measure to support
per-database user names. A better one hasn't materialized in the
~21 years since it was added, and nobody claims to be using it, so
let's just remove it.
Reviewed-by: Michael Paquier, Magnus Hagander
Discussion: https://postgr.es/m/20230630200509.GA2830328%40nathanxps13
Discussion: https://postgr.es/m/20230630215608.GD2941194%40nathanxps13
Diffstat (limited to 'src/backend/libpq/auth.c')
-rw-r--r-- | src/backend/libpq/auth.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c index 31a4125b71f..315a24bb3f9 100644 --- a/src/backend/libpq/auth.c +++ b/src/backend/libpq/auth.c @@ -873,11 +873,6 @@ CheckMD5Auth(Port *port, char *shadow_pass, const char **logdetail) char *passwd; int result; - if (Db_user_namespace) - ereport(FATAL, - (errcode(ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION), - errmsg("MD5 authentication is not supported when \"db_user_namespace\" is enabled"))); - /* include the salt to use for computing the response */ if (!pg_strong_random(md5Salt, 4)) { |