Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SQL identifier quoting, generalize using format %I. #464

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

dimitri
Copy link
Owner

@dimitri dimitri commented Sep 12, 2023

Using the Postgres function format with the %I formatter allows our code to bypass any formatting internally when re-using the SQL object names, both in our logs and also in the SQL queries we then emit.

Generalize that approach to attribute names, index names, index table names, index constraint names, and sequences names.

Fixes #463.

Using the Postgres function format with the %I formatter allows our code to
bypass any formatting internally when re-using the SQL object names, both in
our logs and also in the SQL queries we then emit.

Generalize that approach to attribute names, index names, index table names,
index constraint names, and sequences names.
@dimitri dimitri merged commit 3091b45 into main Sep 12, 2023
15 checks passed
@dimitri dimitri deleted the fix/sql-identifier-quoting branch September 12, 2023 10:57
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.

Split tables not working for tables sorrounded by double quotes
1 participant