Home Explore Blog CI



postgresql

33th chunk of `doc/src/sgml/installation.sgml`
2489699d96a5111307d5fa6f8e039e0edea7a26cf7a5e7e90000000100000fa3
 The only <replaceable>LIBRARY</replaceable> supported is
        <option>openssl</option>. This requires the
        <productname>OpenSSL</productname> package to be installed.  Building
        with this will check for the required header files and libraries to
        make sure that your <productname>OpenSSL</productname> installation is
        sufficient before proceeding.  The default for this option is auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-gssapi-meson">
      <term><option>-Dgssapi={ auto | enabled | disabled }</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>).  In
        those cases, PostgreSQL will query <command>pkg-config</command> to
        detect the required compiler and linker options.  Defaults to auto.
        <filename>meson configure</filename> will check for the required
        header files and libraries to make sure that your GSSAPI installation
        is sufficient before proceeding.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-ldap-meson">
      <term><option>-Dldap={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with
        <acronym>LDAP</acronym><indexterm><primary>LDAP</primary></indexterm>
        support for authentication and connection parameter lookup (see
        <phrase id="install-ldap-links-meson"><xref linkend="libpq-ldap"/> and
        <xref linkend="auth-ldap"/></phrase> for more information).  On Unix,
        this requires the <productname>OpenLDAP</productname> package to be
        installed. On Windows, the default <productname>WinLDAP</productname>
        library is used.  Defaults to auto.  <filename>meson
        configure</filename> will check for the required header files and
        libraries to make sure that your <productname>OpenLDAP</productname>
        installation is sufficient before proceeding.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-pam-meson">
      <term><option>-Dpam={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with
        <acronym>PAM</acronym><indexterm><primary>PAM</primary></indexterm>
        (Pluggable Authentication Modules) support.  Defaults to auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-bsd-auth-meson">
      <term><option>-Dbsd_auth={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with BSD Authentication support.  (The BSD Authentication
        framework is currently only available on OpenBSD.)  Defaults to auto.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-systemd-meson">
      <term><option>-Dsystemd={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with support for
        <application>systemd</application><indexterm><primary>systemd</primary></indexterm>
        service notifications.  This improves integration if the server is
        started under <application>systemd</application> but has no impact
        otherwise; see <xref
        linkend="server-start"/> for more information.  Defaults to
        auto.  <application>libsystemd</application> and the associated header
        files need to be installed to use this option.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry id="configure-with-bonjour-meson">
      <term><option>-Dbonjour={ auto | enabled | disabled }</option></term>
      <listitem>
       <para>
        Build with support for Bonjour

Title: PostgreSQL Configuration Options for Authentication and Services
Summary
This section describes various configuration options for building PostgreSQL, including support for GSSAPI authentication, LDAP, PAM, BSD Authentication, systemd service notifications, and Bonjour, which can be enabled or disabled using meson options, with some options requiring additional software packages to be installed and defaulting to auto-enable if the required software is found.