Skip to content

Add Session Settings to FOREIGN SERVERs and USER MAPPINGs #83

@theory

Description

@theory

Record any ClickHouse Session Settings passed via the options to CREATE SERVER and CREATE USER MAPPING and merge them with settings from the pg_clickhouse.session_settings GUC. Precedence is:

  1. Settings in queries
  2. Settings for a user mapping
  3. Settings from a server
  4. Settings in the GUC

It probably doesn't make sense to support settings in foreign tables, since they may or may not be appropriate for a given query, but evaluate it and make a final call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinterfacesExpand or improve interfaces for accessing ClickHousesqlImprove SQL coverage or FDW capabilities

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions