Re: Suggestion for new function on pg_catalog: get_config()

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Luiz K(dot) Matsumura" <luiz(at)planit(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Suggestion for new function on pg_catalog: get_config()
Date: 2007-09-04 12:45:50
Message-ID: 20070904124550.GA6466@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ken.Colson 2007-09-04 14:06:07 Re: Data Warehousing
Previous Message Alban Hertroys 2007-09-04 09:57:38 Re: Statistics collection question