Skip to content

Commit 3c23542

Browse files
author
hackorum
committed
Apply v2_fix_doc_jit_meson.patch
1 parent db0c984 commit 3c23542

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

doc/src/sgml/jit.sgml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
<acronym>JIT</acronym> compilation using <ulink
3737
url="https://llvm.org/"><productname>LLVM</productname></ulink> when
3838
<productname>PostgreSQL</productname> is built with
39-
<link linkend="configure-with-llvm"><literal>--with-llvm</literal></link>.
39+
<link linkend="configure-with-llvm"><option>--with-llvm</option></link>
40+
or <link linkend="configure-with-llvm-meson"><option>-Dllvm</option></link>.
4041
</para>
4142

4243
<para>
@@ -76,6 +77,15 @@
7677
bodies of small functions into the expressions using them. That allows a
7778
significant percentage of the overhead to be optimized away.
7879
</para>
80+
<note>
81+
<para>
82+
Inlining does not work if <productname>PostgreSQL</productname> is built using
83+
<application>Meson</application> with
84+
<link linkend="configure-with-llvm-meson"><option>-Dllvm</option></link>,
85+
because the <productname>LLVM</productname> bitcode is not built.
86+
See <xref linkend="jit-extensibility-bitcode"/> for more details about bitcode.
87+
</para>
88+
</note>
7989
</sect2>
8090

8191
<sect2 id="jit-optimization">
@@ -133,7 +143,7 @@
133143
<para>
134144
If <xref linkend="guc-jit"/> is set to <literal>off</literal>, or if no
135145
<acronym>JIT</acronym> implementation is available (for example because
136-
the server was compiled without <literal>--with-llvm</literal>),
146+
the server was compiled without <option>--with-llvm</option>),
137147
<acronym>JIT</acronym> will not be performed, even if it would be
138148
beneficial based on the above criteria. Setting <xref linkend="guc-jit"/>
139149
to <literal>off</literal> has effects at both plan and execution time.

0 commit comments

Comments
 (0)