{"Entry":{"collection":"func","key":"current-catalog","name":"current_catalog","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.4"},{"descriptions_changed":true,"doc_overhaul":false,"from":"9.6","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"10"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"a9d5806c06f3f05b6a82619d58293d4818fbec06a9ba9a656d4f6aa096f7c532","derived_content_hash":"d77311c0233aceafa5576a8ecaf75dfe273d37e1497883386f653d0415282e4d","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:3db34c53e4d5719b2c7857cb8102860e4c83f44cac837259268f17d0edddcee4","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.4","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.035086+08:00","last_version":"20","name":"current_catalog","name_key":"current_catalog","position":28003,"present_in":["8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:6bdceb7d18b98224cc57d5932f59d679921dc324159cc12565e6239a3e4c7957","receipt_sha256":"4d61f1f5e20841a3371ae4cdfecba37f0e4e33eac39f470c6a4c91109f76f07a","repair":"wiki-repair-20261023"},"signature":"current_catalog → name","signature_count":1,"slug":"current-catalog","source_rev":"wiki-repair-20261023:3db34c53e4d5719b2c7857cb8102860e4c83f44cac837259268f17d0edddcee4","summary":"Returns the name of the current database.","summary_zh":""}},"Definition":{"Collection":"func","Key":"current-catalog","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"current-catalog","SourceRevision":"wiki-repair-20261023:3db34c53e4d5719b2c7857cb8102860e4c83f44cac837259268f17d0edddcee4","Facts":{"description":"Returns the name of the current database. (Databases are called “catalogs” in the SQL standard, so current_catalog is the standard's spelling.)","description_html":"Returns the name of the current database. (Databases are called \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003ecatalogs\u003c/span\u003e”\u003c/span\u003e in the SQL standard, so \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e is the standard's spelling.)","description_zh":"返回当前数据库的名称。（SQL 标准将数据库称为“目录（catalogs）”，因此 current_catalog 是标准中的写法。）","description_zh_html":"返回当前数据库的名称。（SQL 标准将数据库称为\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e目录（catalogs）\u003c/span\u003e”\u003c/span\u003e，因此 \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e 是标准中的写法。）","doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-info.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","version":"18.7"},{"file":"functions-info.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"f9684137c0b9fb17a691c4d905529d114472a507a007c15058f2703962b611d2","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"info","group_label":"系统信息函数和操作符","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Returns the name of the current database. (Databases are called “catalogs” in the SQL standard, so current_catalog is the standard's spelling.)","description_html":"Returns the name of the current database. (Databases are called \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003ecatalogs\u003c/span\u003e”\u003c/span\u003e in the SQL standard, so \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e is the standard's spelling.)","description_zh":"返回当前数据库的名称。（SQL 标准将数据库称为“目录（catalogs）”，因此 current_catalog 是标准中的写法。）","description_zh_html":"返回当前数据库的名称。（SQL 标准将数据库称为\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e目录（catalogs）\u003c/span\u003e”\u003c/span\u003e，因此 \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e 是标准中的写法。）","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"current_catalog → name","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-info.html","sha256":"7c33185e79430cfbda432dc4db277115c7ac846afccadfcf904ceb1bf2aa1ba5"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"current-catalog","SourceDatabase":"center","Version":"18","Locale":"en","Title":"current_catalog","Summary":"Returns the name of the current database. (Databases are called “catalogs” in the SQL standard, so current_catalog is the standard's spelling.)","BodyHTML":"Returns the name of the current database. (Databases are called \u003cspan\u003e“\u003cspan\u003ecatalogs\u003c/span\u003e”\u003c/span\u003e in the SQL standard, so \u003ccode\u003ecurrent_catalog\u003c/code\u003e is the standard\u0026#39;s spelling.)","SourceRevision":"wiki-repair-20261023:3db34c53e4d5719b2c7857cb8102860e4c83f44cac837259268f17d0edddcee4","ContentHash":"fbd8faeb96433bf81be9085d98634ca3af5abf61253b29e828ea6155e53b293c","Payload":{"description":"Returns the name of the current database. (Databases are called “catalogs” in the SQL standard, so current_catalog is the standard's spelling.)","description_html":"Returns the name of the current database. (Databases are called \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003ecatalogs\u003c/span\u003e”\u003c/span\u003e in the SQL standard, so \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e is the standard's spelling.)","signatures":[{"description":"Returns the name of the current database. (Databases are called “catalogs” in the SQL standard, so current_catalog is the standard's spelling.)","description_html":"Returns the name of the current database. (Databases are called \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003ecatalogs\u003c/span\u003e”\u003c/span\u003e in the SQL standard, so \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e is the standard's spelling.)","description_zh":"返回当前数据库的名称。（SQL 标准将数据库称为“目录（catalogs）”，因此 current_catalog 是标准中的写法。）","description_zh_html":"返回当前数据库的名称。（SQL 标准将数据库称为\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e目录（catalogs）\u003c/span\u003e”\u003c/span\u003e，因此 \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e 是标准中的写法。）","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"current_catalog → name","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"6c0dc9289c60fcd0c338884622aa54410b93e14a64b7f48d3809129c05eada06","Text":"current_catalog → name","Returns":"name","Payload":{"description":"Returns the name of the current database. (Databases are called “catalogs” in the SQL standard, so current_catalog is the standard's spelling.)","description_html":"Returns the name of the current database. (Databases are called \u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003ecatalogs\u003c/span\u003e”\u003c/span\u003e in the SQL standard, so \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e is the standard's spelling.)","description_zh":"返回当前数据库的名称。（SQL 标准将数据库称为“目录（catalogs）”，因此 current_catalog 是标准中的写法。）","description_zh_html":"返回当前数据库的名称。（SQL 标准将数据库称为\u003cspan class=\"quote\"\u003e“\u003cspan class=\"quote\"\u003e目录（catalogs）\u003c/span\u003e”\u003c/span\u003e，因此 \u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e 是标准中的写法。）","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_catalog\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"current_catalog → name","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
