Doc: Improve documentation for pg_jit_available()
authorDavid Rowley
Tue, 28 Jul 2020 10:52:43 +0000 (22:52 +1200)
committerDavid Rowley
Tue, 28 Jul 2020 10:52:43 +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 de1e8fed3ac3910a37c460a3cf1ca15a1f92a7c7..7275bf51d38b3a153844981c477c69499418232c 100644 (file)
@@ -21060,10 +21060,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.