Обсуждение: pg_config docs?

Поиск
Список
Период
Сортировка

pg_config docs?

От
Bruce Momjian
Дата:
Where do we document the pg_config SQL function?

    test=> \df pg_config
                                     List of functions
       Schema   |   Name    | Result data type |       Argument data types       | Type
    ------------+-----------+------------------+---------------------------------+------
     pg_catalog | pg_config | SETOF record     | OUT name text, OUT setting text | func

I can't find it.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



Re: pg_config docs?

От
Tom Lane
Дата:
Bruce Momjian <bruce@momjian.us> writes:
> Where do we document the pg_config SQL function?

We don't, because it's just the infrastructure under the pg_config view.

            regards, tom lane



Re: pg_config docs?

От
Bruce Momjian
Дата:
On Sat, May 11, 2019 at 05:27:23PM -0400, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Where do we document the pg_config SQL function?
> 
> We don't, because it's just the infrastructure under the pg_config view.

OK, thanks.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



Re: pg_config docs?

От
Bruce Momjian
Дата:
On Sat, May 11, 2019 at 05:45:01PM -0400, Bruce Momjian wrote:
> On Sat, May 11, 2019 at 05:27:23PM -0400, Tom Lane wrote:
> > Bruce Momjian <bruce@momjian.us> writes:
> > > Where do we document the pg_config SQL function?
> > 
> > We don't, because it's just the infrastructure under the pg_config view.
> 
> OK, thanks.

Uh, I listed it under "Functions" in the release notes.  Is that the
right place?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



Re: pg_config docs?

От
Tom Lane
Дата:
Bruce Momjian <bruce@momjian.us> writes:
> On Sat, May 11, 2019 at 05:45:01PM -0400, Bruce Momjian wrote:
>> On Sat, May 11, 2019 at 05:27:23PM -0400, Tom Lane wrote:
>>> We don't, because it's just the infrastructure under the pg_config view.

> Uh, I listed it under "Functions" in the release notes.  Is that the
> right place?

If you mean the bit about its mutability marking, I wouldn't bother
listing that in the release notes at all.  It's just a pro-forma change,
because the planner doesn't do anything differently with immutable SRFs.

            regards, tom lane