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

Commit2a972e0

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 parentc0bc4c6 commit2a972e0

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
@@ -160,8 +160,7 @@ TRUNCATE [ TABLE ] [ ONLY ] <replaceable class="parameter">name</replaceable> [
160160
When <literal>RESTART IDENTITY</literal> is specified, the implied
161161
<command>ALTER SEQUENCE RESTART</command> operations are also done
162162
transactionally; that is, they will be rolled back if the surrounding
163-
transaction does not commit. This is unlike the normal behavior of
164-
<command>ALTER SEQUENCE RESTART</command>. Be aware that if any additional
163+
transaction does not commit. Be aware that if any additional
165164
sequence operations are done on the restarted sequences before the
166165
transaction rolls back, the effects of these operations on the sequences
167166
will be rolled back, but not their effects on <function>currval()</function>;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp