Skip to content

Commit 9b34f10

Browse files
committed
Doc: add information about partition locking
The documentation around locking of partitions for the executor startup phase of run-time partition pruning wasn't clear about which partitions were being locked. Fix that. Reviewed-by: Tender Wang <tndrwang@gmail.com> Discussion: https://postgr.es/m/CAApHDvp738G75HfkKcfXaf3a8s%3D6mmtOLh46tMD0D2hAo1UCzA%40mail.gmail.com Backpatch-through: 13
1 parent 5a0840b commit 9b34f10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/ddl.sgml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4837,7 +4837,9 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate &gt;= DATE '2008-01-01';
48374837
It is possible to determine the number of partitions which were
48384838
removed during this phase by observing the
48394839
<quote>Subplans Removed</quote> property in the
4840-
<command>EXPLAIN</command> output.
4840+
<command>EXPLAIN</command> output. It's important to note that any
4841+
partitions removed by the partition pruning done at this stage are
4842+
still locked at the beginning of execution.
48414843
</para>
48424844
</listitem>
48434845

0 commit comments

Comments
 (0)