Re: BUG #16539: About pg_logdir_ls() function and pg_ls_logdir()function

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "leiyanliang(at)highgo(dot)com" <leiyanliang(at)highgo(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16539: About pg_logdir_ls() function and pg_ls_logdir()function
Date: 2020-07-14 06:06:06
Message-ID: CAKFQuwYLCBYpQY818L3+Pb1=dj3v_QZLribeUJx0EY3qun=xfg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Monday, July 13, 2020, PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The following bug has been logged on the website:
>
> Bug reference: 16539
> Logged by: yanliang lei
> Email address: leiyanliang(at)highgo(dot)com
> PostgreSQL version: 12.1
> Operating system: CentOS7.7
> Description:
>
> In the https://www.postgresql.org/docs/12/adminpack.html,there is a
> function
> which name is pg_logdir_ls() ,but there is no this function name from psql
> query(the following query),why?
>
> postgres=# \df pg_ls_logdir

https://www.postgresql.org/docs/12/functions-admin.html#FUNCTIONS-ADMIN-GENFILE

>
> postgres=# \df pg_logdir*
> List of functions
> Schema | Name | Result data type | Argument data types | Type
> --------+------+------------------+---------------------+------
> (0 rows) ---->>>there is no pg_logdir* function!!!
>

https://www.postgresql.org/docs/12/contrib.html

The commentary at the end of the TOC describes how to use the stuff
described in the “Additional Supplied Modules” section.

In short, you haven’t installed the function from adminpack but core
provide its own version.

David J.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-07-14 08:10:23 BUG #16540: Possible corrupted file?
Previous Message PG Bug reporting form 2020-07-14 04:29:48 BUG #16539: About pg_logdir_ls() function and pg_ls_logdir()function