Suggestion for new function on pg_catalog: get_config()

From: "Luiz K(dot) Matsumura" <luiz(at)planit(dot)com(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: Suggestion for new function on pg_catalog: get_config()
Date: 2007-09-04 02:05:35
Message-ID: 46DCBD6F.4020207@planit.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ow Mun Heng 2007-09-04 02:06:26 Re: Instances where enable_seqscan = false is good
Previous Message Tom Lane 2007-09-03 19:40:09 Re: Vacuum process idle but hogging memory 8.2.4