↑↓ 选择 ↵ 打开 ⌫ 改范围 完整检索页

pgsql.cc 提供对 postgresql.org 官网内容的中文翻译,由 Pigsty 团队维护。

百科 / psql 命令 / 描述数据库对象

\dAp

列出与操作符族关联的支持函数(参见 第 36.16.3 节 )。如果指定了 access-method-pattern ,则只列出与名称匹配该模式的访问方法所关联的操作符族函数。如果指定了 operator-family-pattern ,则只列出名称与该模式匹配的操作符族函数。如果在命令名后追加 x ,结果会以扩展模式显示。如果在命令名后追加 + ,函数会以详细形式显示,并带有其实际参数列表。

当前查看 PostgreSQL 18.6。

说明

列出与操作符族关联的支持函数(参见 第 36.16.3 节 )。如果指定了 access-method-pattern ,则只列出与名称匹配该模式的访问方法所关联的操作符族函数。如果指定了 operator-family-pattern ,则只列出名称与该模式匹配的操作符族函数。如果在命令名后追加 x ,结果会以扩展模式显示。如果在命令名后追加 + ,函数会以详细形式显示,并带有其实际参数列表。

客户端
psql 18.6
区分大小写的写法
\dAp

用法

\dAp[x+] [ access-method-pattern [ operator-family-pattern ]]

本版手册中的写法

命令手册中的后缀修饰符
\dApx+

手册定义

\dAp[x+] [access-method-pattern [operator-family-pattern]]

列出与操作符族关联的支持函数(参见第 36.16.3 节)。如果指定了 access-method-pattern,则只列出与名称匹配该模式的访问方法所关联的操作符族函数。如果指定了 operator-family-pattern,则只列出名称与该模式匹配的操作符族函数。如果在命令名后追加 x,结果会以扩展模式显示。如果在命令名后追加 +,函数会以详细形式显示,并带有其实际参数列表。

相关条目

文档与源码

来源构建
版本
18.6
构建
https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2
来源指纹
ee8d1a3612338fd9adf250730cb640fcc5233b5491337cc00a316a44e3a0b9f8

版本比较

PostgreSQL 17 → 18: 属性变化。

以下差异保留原始字段名与英文源描述。

--- PostgreSQL 17
+++ PostgreSQL 18
@@ -1,12 +1,12 @@
 {
-  "definition": "Lists support functions associated with operator families (see Section 36.16.3 ). If access-method-pattern is specified, only functions of operator families associated with access methods whose names match that pattern are listed. If operator-family-pattern is specified, only functions of operator families whose names match that pattern are listed. If + is appended to the command name, functions are displayed verbosely, with their actual parameter lists.",
+  "definition": "Lists support functions associated with operator families (see Section 36.16.3 ). If access-method-pattern is specified, only functions of operator families associated with access methods whose names match that pattern are listed. If operator-family-pattern is specified, only functions of operator families whose names match that pattern are listed. If x is appended to the command name, the results are displayed in expanded mode. If + is appended to the command name, functions are displayed verbosely, with their actual parameter lists.",
   "modifiers": [
     {
       "command": "\\dAp",
-      "modifiers": "+"
+      "modifiers": "x+"
     }
   ],
-  "signature": "\\dAp[+] [ access-method-pattern [ operator-family-pattern ]]",
+  "signature": "\\dAp[x+] [ access-method-pattern [ operator-family-pattern ]]",
   "spellings": [
     "\\dAp"
   ]

比较已记录的接口与属性,排除来源指纹和构建元数据。某个样本中没有记录,不能据此判断实际引入或移除的版本。

相关条目

导出 JSON · 返回psql 命令 · 收录范围为 PostgreSQL 13 至 20;最早采样版本不一定是实际引入版本。