Re: [Django] #34955: Make Concat() use the database operator `||` on PostgreSQL.

17 views
Skip to first unread message

Django

unread,
Nov 10, 2023, 8:01:39 PM11/10/23
to django-...@googlegroups.com
#34955: Make Concat() use the database operator `||` on PostgreSQL.
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: field, database, | Triage Stage: Accepted
generated, output_field |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* owner: nobody => Simon Charette
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/34955#comment:15>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 10, 2023, 9:28:02 PM11/10/23
to django-...@googlegroups.com
#34955: Make Concat() use the database operator `||` on PostgreSQL.
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: field, database, | Triage Stage: Accepted
generated, output_field |
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/34955#comment:16>

Django

unread,
Nov 12, 2023, 1:47:56 PM11/12/23
to django-...@googlegroups.com
#34955: Make Concat() use the database operator `||` on PostgreSQL.
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: field, database, | Triage Stage: Accepted
generated, output_field |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Wobrock):

* cc: David Wobrock (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/34955#comment:17>

Django

unread,
Nov 14, 2023, 6:46:34 AM11/14/23
to django-...@googlegroups.com
#34955: Make Concat() use the database operator `||` on PostgreSQL.
-------------------------------------+-------------------------------------
Reporter: Paolo Melchiorre | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: closed

Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: fixed

Keywords: field, database, | Triage Stage: Accepted
generated, output_field |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"6364b6ee1071381eb3a23ba6b821fc0d6f0fce75" 6364b6ee]:
{{{
#!CommitTicketReference repository=""
revision="6364b6ee1071381eb3a23ba6b821fc0d6f0fce75"
Fixed #34955 -- Made Concat() use || operator on PostgreSQL.

This also avoids casting string based expressions in Concat() on
PostgreSQL.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34955#comment:18>

Reply all
Reply to author
Forward
0 new messages