Re: exposing pg_controldata and pg_config as functions
| От | Alvaro Herrera |
|---|---|
| Тема | Re: exposing pg_controldata and pg_config as functions |
| Дата | |
| Msg-id | 20150902215453.GZ2912@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: exposing pg_controldata and pg_config as functions (Josh Berkus <josh@agliodbs.com>) |
| Ответы |
Re: exposing pg_controldata and pg_config as functions
|
| Список | pgsql-hackers |
Josh Berkus wrote: > On 09/02/2015 02:34 PM, Alvaro Herrera wrote: > > I think trying to duplicate the exact strings isn't too nice an > > interface. > > Well, for pg_controldata, no, but what else would you do for pg_config? I was primarily looking at pg_controldata, so we agree there. As for pg_config, I'm confused about its usefulness -- which of these lines are useful in the SQL interface? Anyway, I don't see anything better than a couple of text columns for this case. BINDIR = /home/alvherre/Code/pgsql/install/master/bin DOCDIR = /home/alvherre/Code/pgsql/install/master/share/doc HTMLDIR = /home/alvherre/Code/pgsql/install/master/share/doc INCLUDEDIR = /home/alvherre/Code/pgsql/install/master/include PKGINCLUDEDIR = /home/alvherre/Code/pgsql/install/master/include INCLUDEDIR-SERVER = /home/alvherre/Code/pgsql/install/master/include/server LIBDIR = /home/alvherre/Code/pgsql/install/master/lib PKGLIBDIR = /home/alvherre/Code/pgsql/install/master/lib LOCALEDIR = /home/alvherre/Code/pgsql/install/master/share/locale MANDIR = /home/alvherre/Code/pgsql/install/master/share/man SHAREDIR = /home/alvherre/Code/pgsql/install/master/share SYSCONFDIR = /home/alvherre/Code/pgsql/install/master/etc PGXS = /home/alvherre/Code/pgsql/install/master/lib/pgxs/src/makefiles/pgxs.mk CONFIGURE = '--enable-debug' '--enable-depend' '--enable-cassert' '--enable-nls' '--cache-file=/home/alvherre/tmp/pgconfig.master.cache''--enable-thread-safety' '--with-python' '--with-perl' '--with-tcl''--with-openssl' '--with-libxml' '--with-tclconfig=/usr/lib/tcl8.6' '--enable-tap-tests' '--prefix=/pgsql/install/master''--with-pgport=55432' CC = gcc CPPFLAGS = -D_GNU_SOURCE -I/usr/include/libxml2 CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O2 CFLAGS_SL = -fpic LDFLAGS = -L../../../src/common -Wl,--as-needed -Wl,-rpath,'/pgsql/install/master/lib',--enable-new-dtags LDFLAGS_EX = LDFLAGS_SL = LIBS = -lpgcommon -lpgport -lxml2 -lssl -lcrypto -lz -lreadline -lrt -lcrypt -ldl -lm VERSION = PostgreSQL 9.6devel -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: