]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Doc: Improve documentation for pg_jit_available()
authorDavid Rowley <drowley@postgresql.org>
Tue, 28 Jul 2020 10:52:51 +0000 (22:52 +1200)
committerDavid Rowley <drowley@postgresql.org>
Tue, 28 Jul 2020 10:52:51 +0000 (22:52 +1200)
Per complaint from Scott Ribe. Based on wording suggestion from Tom Lane.

Discussion: https://postgr.es/m/1956E806-1468-4417-9A9D-235AE1D5FE1A@elevated-dev.com
Backpatch-through: 11, where pg_jit_available() was added

doc/src/sgml/func.sgml

index 12a48f99266b0a70b13f91ca732f14d1400b26c9..230587eee47313eba0c0835f3682953fc936fb63 100644 (file)
@@ -17408,9 +17408,9 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n);
       <row>
        <entry><literal><function>pg_jit_available()</function></literal></entry>
        <entry><type>boolean</type></entry>
-       <entry>is <acronym>JIT</acronym> compilation available in this session
-       (see <xref linkend="jit"/>)? Returns <literal>false</literal> if <xref
-       linkend="guc-jit"/> is set to false.</entry>
+       <entry>is a <acronym>JIT</acronym> compiler extension available
+       (see <xref linkend="jit"/>) and the <xref linkend="guc-jit"/>
+       configuration parameter set to <literal>on</literal>.</entry>
       </row>
 
       <row>