Home Explore Blog CI



postgresql

16th chunk of `doc/src/sgml/installation.sgml`
ec07f094ddeb8cac4fdd70c99150a7870498f30dcce443c00000000100000fba
 supported on platforms for which the <productname>libnuma</productname>
         library is implemented.
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-with-liburing">
       <term><option>--with-liburing</option></term>
       <listitem>
        <para>
        Build with liburing, enabling io_uring support for asynchronous I/O.
        </para>
        <para>
         To detect the required compiler and linker options, PostgreSQL will
         query <command>pkg-config</command>.
        </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-option-with-libxml">
       <term><option>--with-libxml</option></term>
       <listitem>
        <para>
         Build with libxml2, enabling SQL/XML support.  Libxml2 version 2.6.23 or
         later is required for this feature.
        </para>

        <para>
         To detect the required compiler and linker options, PostgreSQL will
         query <command>pkg-config</command>, if that is installed and knows
         about libxml2.  Otherwise the program <command>xml2-config</command>,
         which is installed by libxml2, will be used if it is found.  Use
         of <command>pkg-config</command> is preferred, because it can deal
         with multi-architecture installations better.
        </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), or set the environment variable
         <envar>XML2_CONFIG</envar> to point to
         the <command>xml2-config</command> program belonging to the libxml2
         installation, or set the variables <envar>XML2_CFLAGS</envar>
         and <envar>XML2_LIBS</envar>.  (If <command>pkg-config</command> is
         installed, then to override its idea of where libxml2 is you must
         either set <envar>XML2_CONFIG</envar> or set
         both <envar>XML2_CFLAGS</envar> and <envar>XML2_LIBS</envar> to
         nonempty strings.)
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-with-libxslt">
       <term><option>--with-libxslt</option></term>
       <listitem>
        <para>
         Build with libxslt, enabling the
         <xref linkend="xml2"/>
         module to perform XSL transformations of XML.
         <option>--with-libxml</option> must be specified as well.
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-with-sepgsql">
       <term><option>--with-selinux</option></term>
       <listitem>
        <para>
         Build with SElinux support, enabling the <xref linkend="sepgsql"/>
         extension.
        </para>
       </listitem>
      </varlistentry>

     </variablelist>

   </sect3>

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

    <para>
     The options described in this section allow disabling
     certain <productname>PostgreSQL</productname> features that are built
     by default, but which might need to be turned off if the required
     software or system features are not available.  Using these options is
     not recommended unless really necessary.
    </para>

     <variablelist>

      <varlistentry id="configure-option-without-icu">
       <term><option>--without-icu</option></term>
       <listitem>
        <para>
         Build without support for the
         <productname>ICU</productname><indexterm><primary>ICU</primary></indexterm>
         library, disabling the use of ICU collation features (see <xref
         linkend="collation"/>).
        </para>
       </listitem>
      </varlistentry>

      <varlistentry id="configure-option-without-readline">

Title: PostgreSQL Configuration Options
Summary
The configure command for PostgreSQL offers various options to customize the build, including support for libraries like libxml, libxslt, and liburing, as well as options to disable certain features like ICU support, allowing for tailored installations based on specific requirements and system capabilities.