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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: leiyanliang(at)highgo(dot)com
Subject: BUG #16539: About pg_logdir_ls() function and pg_ls_logdir()function
Date: 2020-07-14 04:29:48
Message-ID: 16539-003b63881562fece@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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
List of functions
Schema | Name | Result data type |
Argument data types | Type
------------+--------------+------------------+---------------------------------------------------------------------------+------
pg_catalog | pg_ls_logdir | SETOF record | OUT name text, OUT size
bigint, OUT modification timestamp with time zone | func
(1 row)

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

postgres=# select version();
version

---------------------------------------------------------------------------------------------------------
PostgreSQL 12.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5
20150623 (Red Hat 4.8.5-39), 64-bit
(1 row)

postgres=#

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2020-07-14 06:06:06 Re: BUG #16539: About pg_logdir_ls() function and pg_ls_logdir()function
Previous Message Michael Paquier 2020-07-14 03:54:58 Re: BUG #16526: pg_test_fsync in v12 doesn't run in Windows