ALTER SEQUENCE RESTART did the wrong thing if sequence last_value was
Tom Lane <tgl@sss.pgh.pa.us>
ALTER SEQUENCE RESTART did the wrong thing if sequence last_value was equal to the desired restart value (must clear is_called, did not). Per bug report #1127 from Piotr Konieczny.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/sequence.c | modified | +12 −21 |