no description function pg_sequence_last_value in the documents,but using \df+ pg_sequence_last_value get this function in the psql

Started by yanliang leiover 1 year ago2 messagesdocs
Jump to latest
#1yanliang lei
msdnchina@163.com

[pg170@localhost ~]$ psql -d postgres

psql -d postgres

psql (17.0)

输入 "help" 来获取帮助信息.

postgres=# \df+ pg_sequence_last_value;

函数列表

架构模式 | 名称 | 结果数据类型 | 参数数据类型 | 类型 | 挥发性 | 平行 | 拥有者 | 安全 | 存取权限 | 程序语言 | 内部名称 | 描述

------------+------------------------+--------------+--------------+------+----------+----------+--------+--------+----------+----------+------------------------+---------------------

pg_catalog | pg_sequence_last_value | bigint | regclass | 函数 | 不稳定性 | 不安全的 | pg170 | 调用者 | | internal | pg_sequence_last_value | sequence last value

(1 行记录)

postgres=# select version();

version

--------------------------------------------------------------------------------------------------------

PostgreSQL 17.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-3), 64-bit

(1 行记录)

postgres=#

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: yanliang lei (#1)
Re: no description function pg_sequence_last_value in the documents,but using \df+ pg_sequence_last_value get this function in the psql

"yanliang lei" <msdnchina@163.com> writes:

pg_catalog | pg_sequence_last_value | bigint | regclass | º¯Êý | ²»Îȶ¨ÐÔ | ²»°²ȫµÄ | pg170 | µ÷ÓÃÕß | | internal | pg_sequence_last_value | sequence last value

I believe that's only intended as support for the pg_sequences view,
so it's not separately documented. There are a fair number of other
view-supporting functions that we don't document either.

regards, tom lane