Skip to content

Conversation

felixxm
Copy link
Member

@felixxm felixxm commented Jun 3, 2022

Added in e9bbdb3.

Obsolete since e910340.

It also crashes on PostgreSQL 15 beta 1, probably because string has some special meaning. For example, using:

.extra(select={"id_col": "id"})

doesn't crash. I couldn't find anything about string in PostgreSQL 15's release notes, but this column name is definitely unfortunate.

@felixxm felixxm requested a review from a team June 3, 2022 07:57
Copy link
Member

@David-Wobrock David-Wobrock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch looks good to me 👍
I'm wondering what other impacts the PostgreSQL change could have on Django 🤔

@felixxm
Copy link
Member Author

felixxm commented Jun 3, 2022

@David-Wobrock Thanks for checking 👍

The patch looks good to me +1 I'm wondering what other impacts the PostgreSQL change could have on Django thinking

This is the only test that fails. Any change around string special meaning should have no impact on Django itself, since identifiers are quoted in other cases and we don't use add_extra() internally.

@felixxm felixxm merged commit aaf0045 into django:main Jun 3, 2022
@felixxm felixxm deleted the refs-13293-obsolete branch June 3, 2022 19:29
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Aug 18, 2025
artirix1927 added a commit to artirix1927/django that referenced this pull request Oct 2, 2025
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.

3 participants