Re: [GENERAL] Suggestion for new function on pg_catalog: get_config()

2007-09-03 Thread Luiz K. Matsumura
Alvaro Herrera wrote: Luiz K. Matsumura wrote: 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 ) ? Hum, isn't this current_setting()? Oh oh, you are right, forg

[GENERAL] Suggestion for new function on pg_catalog: get_config()

2007-09-03 Thread Luiz K. Matsumura
;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. --