-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Description
We need to be able to set the target_session_attrs parameter in database.yml (which is a connection parameter for libpq), but this is currently not supported. I'm open to making a PR, but unsure if there is a preference for adding a String $db_target_session_attrs parameter, or just a generic Hash[String, String] $db_extra_options parameter, which we can then use to set any option.
I am aware that target_session_attrs is not documented in foreman or rails docs, but from https://github.com/rails/rails/blob/main/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L47 , any parameter not documented there, will be passed as libpq connection parameter.
Metadata
Metadata
Assignees
Labels
No labels