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

Commit366aa37

Browse files
committed
Document lock obtained during partition detach
On partition detach, we acquire a SHARE lock on all tables thatreference the partitioned table that we're detaching a partition from,but failed to document this fact. My oversight in commitf56f8f8.Repair. Backpatch to 12.Author: Álvaro Herrera <alvherre@alvh.no-ip.org>Discussion:https://postgr.es/m/20210325180244.GA12738@alvherre.pgsql
1 parent292b7d9 commit366aa37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎doc/src/sgml/ref/alter_table.sgml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
925925
ties to the table from which it was detached. Any indexes that were
926926
attached to the target table's indexes are detached. Any triggers that
927927
were created as clones of those in the target table are removed.
928+
<literal>SHARE</literal> lock is obtained on any tables that reference
929+
this partitioned table in foreign key constraints.
928930
</para>
929931
</listitem>
930932
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp