[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=# 


Reply via email to