diff options
| author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-05-20 14:35:39 -0400 |
|---|---|---|
| committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-05-20 14:41:53 -0400 |
| commit | e2a19a6d253622318bacaea8faccdbf7ca771ddf (patch) | |
| tree | 02ce41c91cef7e7026b714bc2988029ba2537914 | |
| parent | fd7636909101225d65dcb44448dd35dea0731eba (diff) | |
doc: Adding a partition does not require Access Exclusive lock
This doc update was missed in 898e5e3290a7. Backpatch to 12.
Pointed out by Pavel Luzanov
Discussion: https://postgr.es/m/642e9fbc-b832-698b-9a8f-d626afd7014d@postgrespro.ru
| -rw-r--r-- | doc/src/sgml/ddl.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index bf9f0181eab..a5a2e609469 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -4115,8 +4115,8 @@ ALTER INDEX measurement_city_id_logdate_key <listitem> <para> Some operations require a stronger lock when using declarative - partitioning than when using table inheritance. For example, adding - or removing a partition to or from a partitioned table requires taking + partitioning than when using table inheritance. For example, + removing a partition from a partitioned table requires taking an <literal>ACCESS EXCLUSIVE</literal> lock on the parent table, whereas a <literal>SHARE UPDATE EXCLUSIVE</literal> lock is enough in the case of regular inheritance. |
