Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd348473

Browse files
committed
Fix TRUNCATE doc: ALTER SEQUENCE RESTART is now transactional.
ALTER SEQUENCE RESTART was made transactional in commit3d79013.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
1 parent609fe21 commitd348473

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎doc/src/sgml/ref/truncate.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="PARAMETER">name</replaceable> [
157157
When <literal>RESTART IDENTITY</> is specified, the implied
158158
<command>ALTER SEQUENCE RESTART</> operations are also done
159159
transactionally; that is, they will be rolled back if the surrounding
160-
transaction does not commit. This is unlike the normal behavior of
161-
<command>ALTER SEQUENCE RESTART</>. Be aware that if any additional
160+
transaction does not commit. Be aware that if any additional
162161
sequence operations are done on the restarted sequences before the
163162
transaction rolls back, the effects of these operations on the sequences
164163
will be rolled back, but not their effects on <function>currval()</>;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp