Opened 12 years ago

Closed 11 years ago

#2526 closed defect (fixed) sqlsequencereset doesn't work with empty tables.

Reported by: ben.tucker@… Owned by: Adrian Holovaty
Component: Core (Management commands) Version: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I'm using postgresql. If I delete the last item in a table and then pipe the output of sqlsequencereset to psql, it doesn't reset the sequence on empty tables. It should reset "is called" to No, and the last value to 1.

Change History (1)

comment:1 Changed 11 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

This must've been fixed a while ago, because I cannot reproduce it.

Note: See TracTickets for help on using tickets.
Back to Top