aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-10-19 19:02:25 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-10-19 19:02:25 +0300
commit2a972e0165c9b34da4cff3001a2dad8e5a9a5a2b (patch)
tree3e9cd7a0fd19e33cc35ceb6909c104736991bc19 /doc/src
parentc0bc4c682ee2a84dee2b562db3d17d173a6abc06 (diff)
downloadpostgresql-2a972e0165c9b34da4cff3001a2dad8e5a9a5a2b.tar.gz
postgresql-2a972e0165c9b34da4cff3001a2dad8e5a9a5a2b.zip
Fix TRUNCATE doc: ALTER SEQUENCE RESTART is now transactional.
ALTER SEQUENCE RESTART was made transactional in commit 3d79013b97. Backpatch to v10, where that was introduced. Patch by Justin Pryzby, per Yaroslav Schekin's report. Discussion: https://www.postgresql.org/message-id/20201005191922.GE17626%40telsasoft.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/truncate.sgml3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/truncate.sgml b/doc/src/sgml/ref/truncate.sgml
index 5922ee579e1..91cdac55623 100644
--- a/doc/src/sgml/ref/truncate.sgml
+++ b/doc/src/sgml/ref/truncate.sgml
@@ -160,8 +160,7 @@ TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="parameter">name</replaceable> [
When <literal>RESTART IDENTITY</literal> is specified, the implied
<command>ALTER SEQUENCE RESTART</command> operations are also done
transactionally; that is, they will be rolled back if the surrounding
- transaction does not commit. This is unlike the normal behavior of
- <command>ALTER SEQUENCE RESTART</command>. Be aware that if any additional
+ transaction does not commit. Be aware that if any additional
sequence operations are done on the restarted sequences before the
transaction rolls back, the effects of these operations on the sequences
will be rolled back, but not their effects on <function>currval()</function>;