• Tom Lane's avatar
    Fix ALTER SEQUENCE so that it does not affect the value of currval() for · 9ddfe034
    Tom Lane authored
    the sequence.  Also, make setval() with is_called = false not affect the
    currval state, either.  Per report from Kris Jurka that an implicit
    ALTER SEQUENCE OWNED BY unexpectedly caused currval() to become valid.
    Since this isn't 100% backwards compatible, it will go into HEAD only;
    I'll put a more limited patch into 8.2.
    9ddfe034
alter_sequence.sgml 9.64 KB