• Tom Lane's avatar
    Remove error check that disallowed setval() on a sequence with cache · b44e46cf
    Tom Lane authored
    value greater than one.  The behavior this sought to disallow doesn't
    seem any less confusing than the other behaviors of cached sequences.
    Improve wording of some error messages, too.
    Update documentation accordingly.  Also add an explanation that
    aborted transactions do not roll back their nextval() calls; this
    seems to be a FAQ, so it ought to be mentioned here...
    b44e46cf
sequence.c 18.1 KB