Suggestion for new function on pg_catalog: get_config() - Mailing list pgsql-general

From Luiz K. Matsumura
Subject Suggestion for new function on pg_catalog: get_config()
Date
Msg-id 46DCBD6F.4020207@planit.com.br
Whole thread Raw
Responses Re: Suggestion for new function on pg_catalog: get_config()  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general
Hi all,

I want to suggest a inclusion of an new function on the pg_catalog.
Since we have set_config(text, text, boolean)
can we have an get_config( text ) ?

I research and find an internal function that do it, we only don't have
an call for it.
I think that can be like bellow (I don't know if the function can be
STATIC or strict)

CREATE OR REPLACE FUNCTION get_config(text)
  RETURNS SETOF text AS
'show_config_by_name'
  LANGUAGE 'internal' VOLATILE;


TIA.

--
Luiz K. Matsumura
Plan IT Tecnologia Informática Ltda.


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum process idle but hogging memory 8.2.4
Next
From: Ow Mun Heng
Date:
Subject: Re: Instances where enable_seqscan = false is good