#30681: SQL script from sqlsequencereset doesn't work on Postgres 11.3.
-------------------------------------+-------------------------------------
     Reporter:  Iwan Paolucci        |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |  worksforme
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 > After migrating my database from another server with pg_dump/psql, I
 found that some sequences were no longer in order.

 `pg_get_serial_sequence()` should work, you dumped and loaded a database
 outside of Django, so it's not an issue in Django itself.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30681#comment:3>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/061.db8fe7303fa2e367a52ffc770b6b4f43%40djangoproject.com.

Reply via email to