#14096: Insert code generated by models using multiple inheritance is incorrect
and
fails in postgresql
-------------------------------------+-------------------------------------
Reporter: pembo13 | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.2
(models, ORM) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: orm | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 1
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Comment (by la_iscla@…):
Well, I've made a workaround with Postgres by having the model tables rely
on the same SEQUENCE counter:
ALTER TABLE mymodule_a ALTER COLUMN id SET DEFAULT
nextval('mymodule_c_id_seq');
I'll dig further into this issue whenever I have more time.
--
Ticket URL: <https://code.djangoproject.com/ticket/14096#comment:11>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.fc307e431667ae3c1fe9450aa3344b10%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.