-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pgwire: set options based on "options" URL parameter
Previously, CRDB ignored "options" URL parameter. User session parameters should have been set via URL parameters directly: `postgres://user@host:port/database?serial_normalization=virtual_sequence` CRDB can now parse "options" URL parameter and set corresponding session parameters (in compliance with Postgres jdbc connection parameters): `postgres://user@host:port/database?options=-c%20serial_normalization=virtual_sequence` Fixes #59404 Release note (sql change): CockroachDB now recognizes "options" URL parameter. The "options" parameter specifies session variables to set at connection start. This is treated the same as defined in the PostgreSQL docs: https://www.postgresql.org/docs/13/libpq-connect.html#LIBPQ-PARAMKEYWORDS
- Loading branch information
Showing
2 changed files
with
423 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.