docs
docs copied to clipboard
PR #94915 - pgwire: accept the client-provided username during mappings
Exalate commented:
Related PR: https://github.com/cockroachdb/cockroach/pull/94915 Commit: https://github.com/cockroachdb/cockroach/commit/8f13145824f93cd18234e83ccbe8c527ea6cb49d
Release note (backward-incompatible change): There was a bug
whereby, when server.identity_map.configuration was used,
CockroachDB did not verify the client-provided username against
the target mappings. This bug was fixed; however,
this also means that the client must now provide a valid DB
username. This requirement is compatible with PostgreSQL; it was not
previously required by CockroachDB but it is now.
(This note does not apply when identity maps are not in use.)
Jira Issue: DOC-6622
Richard Loveland (rmloveland) commented: Dikshant Adhikari FYI I’m grabbing this but marked as low prio since AFAICT nobody has asked about this
Dikshant Adhikari (dikshant) commented: Yep sounds good thanks!
Richard Loveland (rmloveland) commented: See also https://github.com/cockroachdb/cockroach/issues/120034