sql: the ssl
session var is incorrectly defined
#99606
Labels
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Describe the problem
The pg-compatible
ssl
session var is currently defined based on some server parameters, and is shared across all sessions on that server.In particular, it is always set to
false
if the server accepts non-TLS connections, even on those connections where TLS is enabled.Expected behavior
The value should be set per client connection depending on the connection type, like in PostgreSQL.
The proper location to set it would be in
sql/pgwire
, after the connection type is known.cc @rafiss for triage
Jira issue: CRDB-25974
The text was updated successfully, but these errors were encountered: