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

Core: Improve quoting for TableAddress.fullname #202

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

amotl
Copy link
Member

@amotl amotl commented Jul 20, 2024

About

Just a bit of refactoring and infrastructure improvements.

Details

By making the canonical DatabaseAdapter.quote_relation_name static, it can be used by TableAddress.fullname now.
This makes table name quoting less fragmented across the code base.

References

Notes

We need it for GH-196, and we need to ship it. Please add your voice retroactively, so we can consider any admonitions from your pen even after this has been merged already. Thank you!

@amotl amotl force-pushed the amo/refactor-tablename-quoting branch from 155fe10 to 68e1883 Compare July 20, 2024 10:45
@amotl amotl marked this pull request as ready for review July 20, 2024 10:50
By making the canonical `DatabaseAdapter.quote_relation_name` static, 
it can be used by `TableAddress.fullname` now.

This makes table name quoting less fragmented across the code base.
@amotl amotl force-pushed the amo/refactor-tablename-quoting branch from 68e1883 to df4cdaf Compare July 20, 2024 10:55
@amotl amotl merged commit dcbe5a7 into main Jul 22, 2024
11 checks passed
@amotl amotl deleted the amo/refactor-tablename-quoting branch July 22, 2024 14:42
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.

2 participants