]> granicus.if.org Git - postgresql/commit
ALTER SEQUENCE RESTART did the wrong thing if sequence last_value was
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Apr 2004 16:39:40 +0000 (16:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Apr 2004 16:39:40 +0000 (16:39 +0000)
commit79d48449d703bbca6fa90d2857190ba4b5e46624
tree59d09d9a99aaf2e0fa342711d88e3480904c4203
parent96f362bbd65168e1583b385f796b25f30f9db715
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.
src/backend/commands/sequence.c