Home Explore Blog CI



postgresql

35th chunk of `doc/src/sgml/installation.sgml`
4a2f16d56500c26471230827bc62dfdb505e9bc59614b3ad0000000100000fa1
 <productname>Curl</productname>
        installation is sufficient before proceeding. The default for this
        option is auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-liburing-meson">
      <term><option>-Dliburing={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with liburing, enabling io_uring support for asynchronous I/O.
        Defaults to auto.
       </para>

       <para>
        To use a liburing installation that is in an unusual location, you
        can set <command>pkg-config</command>-related environment
        variables (see its documentation).
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-libnuma-meson">
      <term><option>-Dlibnuma={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with libnuma support for basic NUMA support.
        Only supported on platforms for which the <productname>libnuma</productname>
        library is implemented. The default for this option is auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-libxml-meson">
      <term><option>-Dlibxml={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with libxml2, enabling SQL/XML support.  Defaults to
        auto. Libxml2 version 2.6.23 or later is required for this feature.
       </para>

       <para>
        To use a libxml2 installation that is in an unusual location, you
        can set <command>pkg-config</command>-related environment
        variables (see its documentation).
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-libxslt-meson">
      <term><option>-Dlibxslt={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with libxslt, enabling the
        <xref linkend="xml2"/>
        module to perform XSL transformations of XML.
        <option>-Dlibxml</option> must be specified as well.  Defaults to
        auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-sepgsql-meson">
      <term><option>-Dselinux={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with SElinux support, enabling the <xref linkend="sepgsql"/>
        extension.  Defaults to auto.
       </para>
      </listitem>
     </varlistentry>

    </variablelist>
   </sect3>

   <sect3 id="meson-options-anti-features">
    <title>Anti-Features</title>

    <variablelist>
     <varlistentry id="configure-readline-meson">
      <term><option>-Dreadline={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Allows use of the <application>Readline</application> library (and
        <application>libedit</application> as well).  This option defaults to
        auto and enables command-line editing and history in
        <application>psql</application> and is strongly recommended.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-libedit-preferred-meson">
      <term><option>-Dlibedit_preferred={ true | false }</option></term>
      <listitem>
       <para>
        Setting this to true favors the use of the BSD-licensed
        <application>libedit</application> library rather than GPL-licensed
        <application>Readline</application>.  This option is significant only
        if you have both libraries installed; the default is false, that is to
        use <application>Readline</application>.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-zlib-meson">
      <term><option>-Dzlib={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        <indexterm>
         <primary>zlib</primary>
        </indexterm>
        Enables use of the <application>Zlib</application> library.
        It defaults to auto and enables

Title: Meson Configuration Options for PostgreSQL
Summary
This section describes various Meson configuration options for building PostgreSQL, including support for libraries such as liburing, libnuma, libxml, libxslt, and SElinux, as well as options for command-line editing and compression using Readline, libedit, and Zlib, with many options defaulting to auto-enable if the required software is found.