Home Explore Blog CI



postgresql

13th chunk of `doc/src/sgml/installation.sgml`
b6968722d203b54db9543c204825d53401d987853fb4c8f50000000100000fa7
 id="configure-with-llvm">
       <term><option>--with-llvm</option></term>
       <listitem>
        <para>
         Build with support for <productname>LLVM</productname> based
         <acronym>JIT</acronym> compilation (see <xref linkend="jit"/>).  This
         requires the <productname>LLVM</productname> library to be installed.
         The minimum required version of <productname>LLVM</productname> is
         currently 14.
        </para>
        <para>
         <command>llvm-config</command><indexterm><primary>llvm-config</primary></indexterm>
         will be used to find the required compilation options.
         <command>llvm-config</command> will be searched for in your
         <envar>PATH</envar>.  If that would not yield the desired program,
         use <envar>LLVM_CONFIG</envar> to specify a path to the correct
         <command>llvm-config</command>. For example
<programlisting>
./configure ... --with-llvm LLVM_CONFIG='/path/to/llvm/bin/llvm-config'
</programlisting>
        </para>

        <para>
         <productname>LLVM</productname> support requires a compatible
         <command>clang</command> compiler (specified, if necessary, using the
         <envar>CLANG</envar> environment variable), and a working C++
         compiler (specified, if necessary, using the <envar>CXX</envar>
         environment variable).
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-with-lz4">
       <term><option>--with-lz4</option></term>
       <listitem>
        <para>
         Build with <productname>LZ4</productname> compression support.
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-with-zstd">
       <term><option>--with-zstd</option></term>
       <listitem>
        <para>
         Build with <productname>Zstandard</productname> compression support.
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-with-ssl">
       <term><option>--with-ssl=<replaceable>LIBRARY</replaceable></option>
       <indexterm>
        <primary>OpenSSL</primary>
        <seealso>SSL</seealso>
       </indexterm>
       </term>
       <listitem>
        <para>
         Build with support for <acronym>SSL</acronym> (encrypted)
         connections. The only <replaceable>LIBRARY</replaceable>
         supported is <option>openssl</option>, which is used for both
         <productname>OpenSSL</productname>
         and <productname>LibreSSL</productname>. This requires the
         <productname>OpenSSL</productname> package to be installed.
         <filename>configure</filename> will check for the required
         header files and libraries to make sure that your
         <productname>OpenSSL</productname> installation is sufficient
         before proceeding.
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-with-openssl">
       <term><option>--with-openssl</option></term>
       <listitem>
        <para>
         Obsolete equivalent of <literal>--with-ssl=openssl</literal>.
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-with-gssapi">
       <term><option>--with-gssapi</option></term>
       <listitem>
        <para>
         Build with support for GSSAPI authentication. MIT Kerberos is required
         to be installed for GSSAPI.  On many systems, the GSSAPI system (a part
         of the MIT Kerberos installation) is not installed in a location
         that is searched by default (e.g., <filename>/usr/include</filename>,
         <filename>/usr/lib</filename>), so you must use the options
         <option>--with-includes</option> and <option>--with-libraries</option> in
         addition to this option.  <filename>configure</filename> will check
         for the required header files and libraries to make sure that
         your GSSAPI installation is sufficient before proceeding.
        </para>

Title: PostgreSQL Configuration Options for Compression, SSL, and Authentication
Summary
The PostgreSQL configure command offers various options to enable features such as LLVM-based JIT compilation, LZ4 and Zstandard compression, SSL encryption using OpenSSL, and GSSAPI authentication using MIT Kerberos, allowing for customized builds with specific functionality and security requirements.