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

Commit650d623

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 parentcc121d5 commit650d623

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
@@ -962,6 +962,8 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
962962
ties to the table from which it was detached. Any indexes that were
963963
attached to the target table's indexes are detached. Any triggers that
964964
were created as clones of those in the target table are removed.
965+
<literal>SHARE</literal> lock is obtained on any tables that reference
966+
this partitioned table in foreign key constraints.
965967
</para>
966968
</listitem>
967969
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp