Skip to content

Commit 4178eb8

Browse files
david-rowleydutow
authored andcommitted
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 87fd270 commit 4178eb8

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
@@ -4986,7 +4986,9 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate &gt;= DATE '2008-01-01';
49864986
It is possible to determine the number of partitions which were
49874987
removed during this phase by observing the
49884988
<quote>Subplans Removed</quote> property in the
4989-
<command>EXPLAIN</command> output.
4989+
<command>EXPLAIN</command> output. It's important to note that any
4990+
partitions removed by the partition pruning done at this stage are
4991+
still locked at the beginning of execution.
49904992
</para>
49914993
</listitem>
49924994

0 commit comments

Comments
 (0)