]> granicus.if.org Git - postgresql/commit
Remove error check that disallowed setval() on a sequence with cache
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Dec 2000 20:06:58 +0000 (20:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Dec 2000 20:06:58 +0000 (20:06 +0000)
commitb44e46cfcea288c3f404b4da4456b9736b057a38
tree99ba14f5711a398bb3de0571d103d1f38d74a8e1
parentce1748406b5fcdd52eb9f7ad49dda823f1a021c4
Remove error check that disallowed setval() on a sequence with cache
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...
doc/src/sgml/ref/create_sequence.sgml
src/backend/commands/sequence.c