exposing pg_controldata and pg_config as functions

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: exposing pg_controldata and pg_config as functions
Date: 2015-08-20 13:59:25
Message-ID: 55D5DD3D.1050908@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Is there any significant interest in either of these?

Josh Berkus tells me that he would like pg_controldata information, and
I was a bit interested in pg_config information, for this reason: I had
a report of someone who had configured using --with-libxml but the xml
tests actually returned the results that are expected without xml being
configured. The regression tests thus passed, but should not have. It
occurred to me that if we had a test like

select pg_config('configure') ~ '--with-libxml' as has_xml;

in the xml tests then this failure mode would be detected.




Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-08-20 14:16:12 Re: Supporting fallback RADIUS server(s)
Previous Message Tom Lane 2015-08-20 13:54:47 Re: Using quicksort for every external sort run