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

From Alvaro Herrera
Subject Re: Suggestion for new function on pg_catalog: get_config()
Date
Msg-id 20070904124550.GA6466@alvh.no-ip.org
Whole thread Raw
In response to Re: Suggestion for new function on pg_catalog: get_config()  ("Luiz K. Matsumura" <luiz@planit.com.br>)
List pgsql-general
Luiz K. Matsumura wrote:

> By the way,
>
> select setting AS default_tablespace from pg_show_all_settings() x(name
> text, setting text, unit text, category text, short_desc text, extra_desc
> text, context text, vartype text, source text, min_val text, max_val text)
> where name = 'default_tablespace'
>
> and
>
> select current_setting('default_tablespace' )
>
> can be considered equivalent ?

Probably.  Also try
select * from pg_settings;

--
Alvaro Herrera                          Developer, http://www.PostgreSQL.org/
"Industry suffers from the managerial dogma that for the sake of stability
and continuity, the company should be independent of the competence of
individual employees."                                      (E. Dijkstra)

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: Statistics collection question
Next
From: Ken.Colson@sage.com
Date:
Subject: Re: Data Warehousing