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

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

PostgreSQL 文档检索

PG 18 · 按类别浏览,或输入名称与关键词

分类索引1772
pg_ts_parser_is_visible函数与运算符本站词条全文检索解析器是否在搜索路径中可见? Is text search parser visible in search path? pg_ts_parser_is_visible ( parser oid ) → boolean 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_ts_template_is_visible函数与运算符本站词条全文检索模板是否在搜索路径中可见? Is text search template visible in search path? pg_ts_template_is_visible ( template oid ) → boolean 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_type_is_visible函数与运算符本站词条类型(或域)在搜索路径中可见吗? Is type (or domain) visible in search path? pg_type_is_visible ( type oid ) → boolean 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_typeof函数与运算符本站词条返回所传入值的数据类型的 OID。 Returns the OID of the data type of the value that is passed to it. pg_typeof ( "any" ) → regtype 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_visible_in_snapshot函数与运算符本站词条根据此快照,给定的事务 ID 是否可见(即该事务是否在生成快照之前完成)?注意,此函数无法为子事务 ID(subxid)给出正确结果;详见第 67.3 节。 Is the given transaction ID visible according to this snapshot (that is, was it completed before the snapshot w…函数 · 系统信息函数和操作符 pg_wal_lsn_diff函数与运算符本站词条计算两个预写式日志位置之间的字节差(lsn1 - lsn2)。 Calculates the difference in bytes (lsn1 - lsn2) between two write-ahead log locations. pg_wal_lsn_diff ( lsn1 pg_lsn, lsn2 pg_lsn ) → numeric 系统管理函数函数 · 系统管理函数 pg_wal_replay_pause函数与运算符本站词条请求暂停恢复。 Request to pause recovery. pg_wal_replay_pause () → void 系统管理函数函数 · 系统管理函数 pg_wal_replay_resume函数与运算符本站词条如果暂停了,则重新启动恢复。 Restarts recovery if it was paused. pg_wal_replay_resume () → void 系统管理函数函数 · 系统管理函数 pg_wal_summary_contents函数与运算符本站词条返回由 TLI 以及起始和结束 LSN 标识的单个 WAL 汇总文件内容的信息。 Returns one information about the contents of a single WAL summary file identified by TLI and starting and ending LSNs. pg_wal_summary_contents ( tli…函数 · 系统信息函数和操作符 pg_walfile_name函数与运算符本站词条将预写式日志位置转换为包含该位置的 WAL 文件的名称。 Converts a write-ahead log location to the name of the WAL file holding that location. pg_walfile_name ( lsn pg_lsn ) → text 系统管理函数函数 · 系统管理函数 pg_walfile_name_offset函数与运算符本站词条将预写式日志位置转换为WAL文件名和该文件中的字节偏移量。 Converts a write-ahead log location to a WAL file name and byte offset within that file. pg_walfile_name_offset ( lsn pg_lsn ) → record ( file_name text, file_o…函数 · 系统管理函数 pg_xact_commit_timestamp函数与运算符本站词条返回事务的提交时间戳。 Returns the commit timestamp of a transaction. pg_xact_commit_timestamp ( xid ) → timestamp with time zone 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_xact_commit_timestamp_origin函数与运算符本站词条返回事务的提交时间戳和复制源。 Returns the commit timestamp and replication origin of a transaction. pg_xact_commit_timestamp_origin ( xid ) → record ( timestamp timestamp with time zone, roident oid) 系统信息…函数 · 系统信息函数和操作符 pg_xact_status函数与运算符本站词条报告近期事务的提交状态。 Reports the commit status of a recent transaction. pg_xact_status ( xid8 ) → text 系统信息函数和操作符函数 · 系统信息函数和操作符 pg_xlog_location_diff函数与运算符本站词条计算两个事务日志位置之差 Calculate the difference between two transaction log locations pg_xlog_location_diff ( location pg_lsn, location pg_lsn ) → numeric 系统管理函数函数 · 系统管理函数 pg_xlog_replay_pause函数与运算符本站词条立即暂停恢复(默认仅限超级用户,但可以向其他用户授予EXECUTE权限以运行此函数)。 Pauses recovery immediately (restricted to superusers by default, but other users can be granted EXECUTE to run the function). pg_xlog_replay_paus…函数 · 系统管理函数 pg_xlog_replay_resume函数与运算符本站词条如果恢复已暂停,则重新开始恢复(默认仅限超级用户,但可以向其他用户授予EXECUTE权限以运行此函数)。 Restarts recovery if it was paused (restricted to superusers by default, but other users can be granted EXECUTE to run the function). pg_…函数 · 系统管理函数 pg_xlogfile_name函数与运算符本站词条将事务日志位置字符串转换为文件名 Convert transaction log location string to file name pg_xlogfile_name ( location pg_lsn ) → text 系统管理函数函数 · 系统管理函数 pg_xlogfile_name_offset函数与运算符本站词条将事务日志位置字符串转换为文件名和文件内的十进制字节偏移量 Convert transaction log location string to file name and decimal byte offset within file pg_xlogfile_name_offset ( location pg_lsn ) → text, integer 系统管理函数函数 · 系统管理函数 phraseto_tsquery函数与运算符本站词条将文本转换为tsquery,根据指定的或默认配置对单词进行正规化。 Converts text to a tsquery, normalizing words according to the specified or default configuration. phraseto_tsquery ( [config regconfig, ] query text ) → ts…函数 · 文本检索函数和操作符 pi函数与运算符本站词条π的近似值 Approximate value of π pi ( ) → double precision 数学函数和操作符函数 · 数学函数和操作符 plainto_tsquery函数与运算符本站词条将文本转换为tsquery,根据指定的或默认配置对单词进行正规化。 Converts text to a tsquery, normalizing words according to the specified or default configuration. plainto_tsquery ( [config regconfig, ] query text ) → tsq…函数 · 文本检索函数和操作符 point函数与运算符本站词条从它的坐标构造点。 Constructs point from its coordinates. point ( double precision, double precision ) → point point ( box ) → point point ( circle ) → point point ( lseg ) → point point ( polygon ) …函数 · 几何函数和操作符 polygon函数与运算符本站词条将框转换为4点多边形。 Converts box to a 4-point polygon. polygon ( box ) → polygon polygon ( circle ) → polygon polygon ( integer, circle ) → polygon polygon ( path ) → polygon 几何函数和操作符函数 · 几何函数和操作符 popen函数与运算符本站词条将路径转换为开放形式。 Converts path to open form. popen ( path ) → path 几何函数和操作符函数 · 几何函数和操作符 populate_record函数与运算符PG18populate_record ( anyelement, hstore ) → anyelement 用hstore中匹配的值替换左操作数(必须为复合类型)中的字段。 populate_record(ROW(1,2), 'f1=>42'::hstore) → (42,2)hstore — hstore 键/值数据类型 › hstore 操作符和函数 position函数与运算符本站词条返回substring在string中首次出现的位置;如果不存在则返回零。 Returns first starting index of the specified substring within string, or zero if it's not present. position ( substring text IN string text ) → integer…函数 · 字符串函数和操作符 pow函数与运算符PG18pow ( x, y ) → double power ( x, y ) → double x 的 y 次幂 pow(2.0, 10) → 1024.0pgbench › 注解 › 内置函数 power函数与运算符本站词条a的b次幂 a raised to the power of b power ( a numeric, b numeric ) → numeric power ( a double precision, b double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 query_to_xml函数与运算符本站词条table_to_xml映射由参数table传递的命名表的内容。 table_to_xml maps the content of the named table, passed as parameter table. query_to_xml ( query text, nulls boolean, tableforest boolean, targetns text ) →…函数 · XML 函数 query_to_xml_and_xmlschema函数与运算符本站词条下面的函数产生 XML 数据映射和对应的 XML 模式,并把产生的结果链接在一起放在一个文档(或森林)中。 In addition, the following functions are available to produce analogous mappings of entire schemas or the entire current database: query…函数 · XML 函数 query_to_xmlschema函数与运算符本站词条必须传入相同的参数,才能得到彼此匹配的 XML 数据映射和 XML 模式文档。 It is essential that the same parameters are passed in order to obtain matching XML data mappings and XML Schema documents. query_to_xmlschema ( query…函数 · XML 函数 querytree函数与运算符本站词条生成tsquery中可索引部分的表示。 Produces a representation of the indexable portion of a tsquery. querytree ( tsquery ) → text 文本检索函数和操作符函数 · 文本检索函数和操作符 quote_ident函数与运算符本站词条为给定字符串添加适当的引号并返回,使其可用作SQL语句字符串中的标识符。 Returns the given string suitably quoted to be used as an identifier in an SQL statement string. quote_ident ( text ) → text 字符串函数和操作符函数 · 字符串函数和操作符 quote_literal函数与运算符本站词条为给定字符串添加适当的引号并返回,使其可用作SQL语句字符串中的字符串字面量。 Returns the given string suitably quoted to be used as a string literal in an SQL statement string. quote_literal ( text ) → text quote_literal ( anye…函数 · 字符串函数和操作符 quote_nullable函数与运算符本站词条为给定字符串添加适当的引号并返回,使其可用作SQL语句字符串中的字符串字面量;如果参数为 null,则返回NULL。 Returns the given string suitably quoted to be used as a string literal in an SQL statement string; or, if the argument is null, re…函数 · 字符串函数和操作符 radians函数与运算符本站词条将角度转换为弧度 Converts degrees to radians radians ( double precision ) → double precision 数学函数和操作符函数 · 数学函数和操作符 radius函数与运算符本站词条计算圆的半径。 Computes radius of circle. radius ( circle ) → double precision 几何函数和操作符函数 · 几何函数和操作符 random函数与运算符本站词条返回范围 0.0 <= x < 1.0 内的随机值 Returns a random value in the range 0.0 <= x < 1.0 random ( ) → double precision random ( min integer, max integer ) → integer random ( min bigint, max bigint ) → b…函数 · 数学函数和操作符 random_exponential函数与运算符PG18random_exponential ( lb, ub, parameter ) → integer 计算[lb, ub]中的指数分布随机整数,详见下文。 random_exponential(1, 10, 3.0) → 介于1和10之间的整数pgbench › 注解 › 内置函数
更多结果

输入名称或关键词,从 PostgreSQL 手册与扩展目录中直接找到定义。

pg17: 限定版本 ex: 只搜扩展 ↑↓ 选择 ↵ 打开