Suggestion for new function on pg_catalog: get_config()

Поиск
Список
Период
Сортировка
От Luiz K. Matsumura
Тема Suggestion for new function on pg_catalog: get_config()
Дата
Msg-id 46DCBD6F.4020207@planit.com.br
обсуждение исходный текст
Ответы Re: Suggestion for new function on pg_catalog: get_config()  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum process idle but hogging memory 8.2.4
Следующее
От: Ow Mun Heng
Дата:
Сообщение: Re: Instances where enable_seqscan = false is good