ClickHouse / ClickHouse/pg_clickhouse

Add column case option to IMPORT FOREIGN SCHEMA

Open
#236 0 comments 0 reactions 1 assignee Claimed by @serprex View on GitHub
enhancement sql
Dominant language
C
Stars
283
Forks
21
Avg merge
2d 6h
Merged PRs (30d)
11

Description

Since 54342bb, pg_clickhouse has been using `quote_identifier()` for all tables and columns imported from ClickHouse. As of #117 (but really for some time), one has been able to specify a custom column name in `CREATE FOREIGN TABLE` column options.

Add an option for [IMPORT FOREIGN SCHEMA](https://www.postgresql.org/docs/current/sql-importforeignschema.html) to tell the importer to prefer lowercase names and only fall back on quoting if there is a conflict with an earlier name.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.