#12180: ProgrammingError thrown with autocommit: True if first query on 
PostgreSQL
>= 8.2 is an INSERT
-------------------------------------+-------------------------------------
               Reporter:  Xof        |          Owner:  Xof
                   Type:  Bug        |         Status:  closed
              Milestone:             |      Component:  Database layer
                Version:  1.3        |  (models, ORM)
             Resolution:  fixed      |       Severity:  Normal
           Triage Stage:  Accepted   |       Keywords:
    Needs documentation:  0          |      Has patch:  1
Patch needs improvement:  0          |    Needs tests:  1
                                     |  Easy pickings:  0
-------------------------------------+-------------------------------------
Changes (by ramiro):

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


Comment:

 In [16443]:
 {{{
 #!CommitTicketReference repository="" revision="16443"
 Removed more code for handling of PostgreSQL versions older than 8.2; use
 always "INSERT... RETURNING..." rather than "INSERT...; SELECT
 CURRVAL...". Thanks Christoph Pettus for the report and hints. Fixes
 #12180. Refs [16423].
 }}}

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to