Content-Length: 272976 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6f3a13ff058f15d565a30c16c0c2cb14cc994e42

71 Enhance docs for ALTER TABLE lock levels of storage parms · postgrespro/postgres_cluster@6f3a13f · GitHub
Skip to content

Commit 6f3a13f

Browse files
Enhance docs for ALTER TABLE lock levels of storage parms
As requested by Robert Haas
1 parent 21d4e2e commit 6f3a13f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

doc/src/sgml/ref/alter_table.sgml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,10 +568,17 @@ ALTER TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable>
568568
That can be done with <link linkend="SQL-VACUUM">VACUUM
569569
FULL</>, <xref linkend="SQL-CLUSTER"> or one of the forms
570570
of <command>ALTER TABLE</> that forces a table rewrite.
571+
For planner related parameters, changes will take effect from the next
572+
time the table is locked so currently executing queries will not be
573+
affected.
571574
</para>
572575

573576
<para>
574-
Changing fillfactor and autovacuum storage parameters acquires a <literal>SHARE UPDATE EXCLUSIVE</literal> lock.
577+
<literal>SHARE UPDATE EXCLUSIVE</literal> lock will be taken for
578+
fillfactor and autovacuum storage parameters, as well as the
579+
following planner related parameters:
580+
effective_io_concurrency, parallel_workers, seq_page_cost
581+
random_page_cost, n_distinct and n_distinct_inherited.
575582
</para>
576583

577584
<note>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6f3a13ff058f15d565a30c16c0c2cb14cc994e42

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy