Home Explore Blog CI



postgresql

31th chunk of `doc/src/sgml/installation.sgml`
5cb510c0ba6fdb75210ca318503bf4e08630a25d0d537e6e0000000100000fb3
 in <filename>/usr/local/doc/postgresql</filename>,
       but if the prefix is <filename>/opt/postgres</filename>, then it
       will be in <filename>/opt/postgres/doc</filename>. The public C
       header files of the client interfaces are installed into
       <varname>includedir</varname> and are namespace-clean. The
       internal header files and the server header files are installed
       into private directories under <varname>includedir</varname>. See
       the documentation of each interface for information about how to
       access its header files. Finally, a private subdirectory will
       also be created, if appropriate, under <varname>libdir</varname>
       for dynamically loadable modules.
      </para>
     </note>
    </sect3>

   <sect3 id="meson-options-features">
    <title><productname>PostgreSQL</productname> Features</title>

    <para>
     The options described in this section enable building of
     various optional <productname>PostgreSQL</productname> features.
     Most of these require additional software, as described in
     <xref linkend="install-requirements"/>, and will be automatically enabled if the
     required software is found. You can change this behavior by manually
     setting these features to <literal>enabled</literal> to require them
     or <literal>disabled</literal> to not build with them.
    </para>

    <para>
     To specify PostgreSQL-specific options, the name of the option
     must be prefixed by <literal>-D</literal>.
    </para>

    <variablelist>
     <varlistentry id="configure-with-nls-meson">
      <term><option>-Dnls={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Enables or disables Native Language Support (<acronym>NLS</acronym>),
        that is, the ability to display a program's messages in a language
        other than English.  Defaults to auto and will be enabled
        automatically if an implementation of the <application>Gettext
        API</application> is found.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-plperl-meson">
      <term><option>-Dplperl={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build the <application>PL/Perl</application> server-side language.
        Defaults to auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-plpython-meson">
      <term><option>-Dplpython={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build the <application>PL/Python</application> server-side language.
        Defaults to auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-pltcl-meson">
      <term><option>-Dpltcl={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build the <application>PL/Tcl</application> server-side language.
        Defaults to auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-tcl-version-meson">
      <term><option>-Dtcl_version=<replaceable>TCL_VERSION</replaceable></option></term>
      <listitem>
       <para>
        Specifies the Tcl version to use when building PL/Tcl.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-icu-meson">
      <term><option>-Dicu={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with support for the
        <productname>ICU</productname><indexterm><primary>ICU</primary></indexterm>
        library, enabling use of ICU collation features (see <xref
        linkend="collation"/>).  Defaults to auto and requires the
        <productname>ICU4C</productname> package to be installed.  The minimum
        required version of <productname>ICU4C</productname> is currently 4.2.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-llvm-meson">
      <term><option>-Dllvm={

Title: PostgreSQL Features and Meson Options
Summary
This section describes the options for building various optional PostgreSQL features, including Native Language Support, PL/Perl, PL/Python, PL/Tcl, ICU support, and others, which can be enabled or disabled using meson options, with some features requiring additional software and defaulting to auto-enable if the required software is found.