Skip to content

Conversation

@watford-ep
Copy link

This adds generic support for SET SESSION AUTHORIZATION, used in a few dialects (Postgres, Redshift, CrateDB, MariaDB). This is somewhat of a compromise as there are some weird usages involving the LOCAL keyword, which I've handwaved as not being something strictly necessary to support (unless requested).

This resolves my issue with npgsql where it issues SET SESSION AUTHORIZATION DEFAULT when returning a connection to the pool.

Fixes #2086

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support SET SESSION AUTHORIZATION in Postgres

1 participant