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:30 +0000 (16:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Apr 2004 16:39:30 +0000 (16:39 +0000)
commit2098ec6e3731326e689fcd5ecfbdd536b2e16ab3
treefd13c7e8edd16aac76c4f8ac218bfe2fc6430dee
parent055b0d27f6aba9c43c93c0f368bba7b987816e7f
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