Document log_transaction_sample_rate as superuser-only
authorTomas Vondra <[email protected]>
Mon, 4 Nov 2019 01:00:26 +0000 (02:00 +0100)
committerTomas Vondra <[email protected]>
Wed, 6 Nov 2019 18:10:56 +0000 (19:10 +0100)
The docs do say which GUCs can be changed only by superusers, but we
forgot to mention this for the new log_transaction_sample_rate. This
GUC was introduced in PostgreSQL 12, so backpatch accordingly.

Author: Adrien Nayrat
Backpatch-through: 12

doc/src/sgml/config.sgml

index 0191ec84b1f6fa0f0ba120cc152fffc33f7065d0..48d7939d2de15aab15687e15a0b2ee1746f26573 100644 (file)
@@ -5988,6 +5988,7 @@ local0.*    /var/log/postgresql
          logs all statements for all transactions.
          <varname>log_transaction_sample_rate</varname> is helpful to track a
          sample of transaction.
+         Only superusers can change this setting.
         </para>
        <note>
         <para>