Skip to content

PostgreSQL 14.4 pg_config isn't reporting configuration options under CONFIGURE #341

Description

@brianewell

PostgreSQL's pg_config is used to report on various atoms of information surrounding a PostgreSQL installation. Using the latest version available under trunk-x86_64, pg_config reports nothing at all for CONFIGURE:

# pkgin up
processing remote summary (https://pkgsrc.smartos.org/packages/SmartOS/trunk/x86_64/All)...
database for https://pkgsrc.smartos.org/packages/SmartOS/trunk/x86_64/All is up-to-date
# pkgin ls | grep postgresql
postgresql14-client-14.4nb1 PostgreSQL database client programs
postgresql14-server-14.4nb1 PostgreSQL database server programs
# pg_config
BINDIR = /opt/local/bin
DOCDIR = /opt/local/share/doc/postgresql
HTMLDIR = /opt/local/share/doc/postgresql
INCLUDEDIR = /opt/local/include
PKGINCLUDEDIR = /opt/local/include/postgresql
INCLUDEDIR-SERVER = /opt/local/include/postgresql/server
LIBDIR = /opt/local/lib
PKGLIBDIR = /opt/local/lib/postgresql
LOCALEDIR = /opt/local/lib/locale
MANDIR = /opt/local/man
SHAREDIR = /opt/local/share/postgresql
SYSCONFDIR = /opt/local/etc/postgresql
PGXS = /opt/local/lib/postgresql/pgxs/src/makefiles/pgxs.mk
CONFIGURE =
CC = gcc
CPPFLAGS = -I/opt/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include
CFLAGS_SL = -fPIC
LDFLAGS = -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -lnsl -lsocket -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -L/opt/local/lib -Wl,-R'/opt/local/lib'
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgcommon -lpgport -llz4 -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm -lintl -liconv
VERSION = PostgreSQL 14.4

I've confirmed the same behavior after spinning up a build environment and trying from source.

Activity

  1. added a commit that references this issue on Aug 8, 2023
  2. added a commit that references this issue on Oct 30, 2023
  3. added a commit that references this issue on Jan 9, 2024
  4. added a commit that references this issue on Mar 4, 2024
  5. added a commit that references this issue on Apr 9, 2024
  6. added a commit that references this issue on Sep 14, 2024
  7. added a commit that references this issue on Sep 24, 2024
  8. 22 remaining items

  9. added a commit that references this issue on Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions