-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Fixed #33607 -- Made PostgresIndex.create_sql() respect the "using" argument. #15600
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
Fixed #33607 -- Made PostgresIndex.create_sql() respect the "using" argument. #15600
Conversation
I noticed subclasses of |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexei Thanks 👍 I left comments.
That's what I'm saying: it's not. Only the |
I don't anything wrong or unusual in this pattern 🤔 |
It breaks the open-closed principle. If e.g. |
... but |
PostgresIndex.create_sql
to pass using
argument to schema editor
@alexei Welcome aboard ⛵ |
https://code.djangoproject.com/ticket/33607
The TL;DR is
PostgresIndex.create_sql
accepts ausing
argument but throws it away. This update fixes that and passes the argument to the underlying method.