Doc: Improve documentation for pg_jit_available()
authorDavid Rowley
Tue, 28 Jul 2020 10:52:03 +0000 (22:52 +1200)
committerDavid Rowley
Tue, 28 Jul 2020 10:52:03 +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 959f6a1c2f25552f344942bc0f09e0fcf86970b7..f766c1bc67c14c96a3a6b2f2b4d74daa4db5df96 100644 (file)
@@ -21087,10 +21087,10 @@ SELECT * FROM pg_ls_dir('.') WITH ORDINALITY AS t(ls,n);
         boolean
        
        
-        Returns true if JIT compilation is available in
-        this session (see ).
-        Returns false if  is set to false, or if the
-        feature was not enabled at compile time.
+        Returns true if JIT compiler extension is
+        available (see ) and the
+         configuration parameter is set to
+        on.