{"Entry":{"collection":"func","key":"jsonb-extract-path-text","name":"jsonb_extract_path_text","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"18c4b6db8ba3aaa0e0d6aeacfde0b99ef3d756624f809a92f794a80fc3e66dce","derived_content_hash":"b19fb65822020d99f5b9301d53239eaf318712cba27c04c1baca57facc9d76ec","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:fec854f99cf9ec6c4e171e429134e6bd56ea7442d32fe9ece9e2adb1e6d5413f","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.4","group":"json","group_label":"Json Functions And Operators","groups":["json"],"imported_at":"2026-09-14T21:49:48.802407+08:00","last_version":"20","name":"jsonb_extract_path_text","name_key":"jsonb_extract_path_text","position":16034,"present_in":["9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"2026-09-14T13:14:25.684213+00:00@99e6866c","receipt_sha256":"ffe8b9777115631bf8496c35cd3ea99d71c88d8fc729ae83439a34a3a0eda471","repair":"wiki-repair-20261023"},"signature":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","signature_count":1,"slug":"jsonb-extract-path-text","source_rev":"wiki-repair-20261023:fec854f99cf9ec6c4e171e429134e6bd56ea7442d32fe9ece9e2adb1e6d5413f","summary":"Extracts JSON sub-object at the specified path as text.","summary_zh":""}},"Definition":{"Collection":"func","Key":"jsonb-extract-path-text","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"jsonb-extract-path-text","SourceRevision":"wiki-repair-20261023:fec854f99cf9ec6c4e171e429134e6bd56ea7442d32fe9ece9e2adb1e6d5413f","Facts":{"description":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","description_html":"Extracts JSON sub-object at the specified path as \u003ccode class=\"type\"\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","description_zh":"将指定路径上的 JSON 子对象提取为 text。（这在功能上等同于#\u003e\u003e 操作符。）","description_zh_html":"将指定路径上的 JSON 子对象提取为 \u003ccode class=\"type\"\u003etext\u003c/code\u003e。（这在功能上等同于\u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e 操作符。）","doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-json.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","version":"18.7"},{"file":"functions-json.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"31b98fa7f00387abf441728c31918bfe8b368642bceeb8bba88a73c3fbd607de","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"json","group_label":"JSON 函数和操作符","lang":"en","layout":"table-new","pages":["functions-json.html"],"prose_only":false,"signatures":[{"description":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","description_html":"Extracts JSON sub-object at the specified path as \u003ccode class=\"type\"\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","description_zh":"将指定路径上的 JSON 子对象提取为 text。（这在功能上等同于#\u003e\u003e 操作符。）","description_zh_html":"将指定路径上的 JSON 子对象提取为 \u003ccode class=\"type\"\u003etext\u003c/code\u003e。（这在功能上等同于\u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e 操作符。）","examples":[{"expr":"json_extract_path_text('{\"f2\":{\"f3\":1},\"f4\":{\"f5\":99,\"f6\":\"foo\"}}', 'f4', 'f6')","result":"foo"}],"html":"\u003ccode class=\"function\"\u003ejsonb_extract_path_text\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003efrom_json\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e, \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003epath_elems\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-json.html","sha256":"a412feb14a229f1d9f14fa2d7735255aa297d5eb8f2971d744d9dfee659c7cca"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"jsonb-extract-path-text","SourceDatabase":"center","Version":"18","Locale":"en","Title":"jsonb_extract_path_text","Summary":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","BodyHTML":"Extracts JSON sub-object at the specified path as \u003ccode\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","SourceRevision":"wiki-repair-20261023:fec854f99cf9ec6c4e171e429134e6bd56ea7442d32fe9ece9e2adb1e6d5413f","ContentHash":"d8572afd2510887ada59efbc9d1b4369c7c96e16a3d0414df908bfab617e6f82","Payload":{"description":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","description_html":"Extracts JSON sub-object at the specified path as \u003ccode class=\"type\"\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","signatures":[{"description":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","description_html":"Extracts JSON sub-object at the specified path as \u003ccode class=\"type\"\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","description_zh":"将指定路径上的 JSON 子对象提取为 text。（这在功能上等同于#\u003e\u003e 操作符。）","description_zh_html":"将指定路径上的 JSON 子对象提取为 \u003ccode class=\"type\"\u003etext\u003c/code\u003e。（这在功能上等同于\u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e 操作符。）","examples":[{"expr":"json_extract_path_text('{\"f2\":{\"f3\":1},\"f4\":{\"f5\":99,\"f6\":\"foo\"}}', 'f4', 'f6')","result":"foo"}],"html":"\u003ccode class=\"function\"\u003ejsonb_extract_path_text\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003efrom_json\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e, \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003epath_elems\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"96297c9fe6e1d8b2cd0f9e82d4ed45af23b7da06140e8837b7435a4bc09e73ac","Text":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","Returns":"text","Payload":{"description":"Extracts JSON sub-object at the specified path as text. (This is functionally equivalent to the #\u003e\u003e operator.)","description_html":"Extracts JSON sub-object at the specified path as \u003ccode class=\"type\"\u003etext\u003c/code\u003e. (This is functionally equivalent to the \u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e operator.)","description_zh":"将指定路径上的 JSON 子对象提取为 text。（这在功能上等同于#\u003e\u003e 操作符。）","description_zh_html":"将指定路径上的 JSON 子对象提取为 \u003ccode class=\"type\"\u003etext\u003c/code\u003e。（这在功能上等同于\u003ccode class=\"literal\"\u003e#\u0026gt;\u0026gt;\u003c/code\u003e 操作符。）","examples":[{"expr":"json_extract_path_text('{\"f2\":{\"f3\":1},\"f4\":{\"f5\":99,\"f6\":\"foo\"}}', 'f4', 'f6')","result":"foo"}],"html":"\u003ccode class=\"function\"\u003ejsonb_extract_path_text\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003efrom_json\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e, \u003ccode class=\"literal\"\u003eVARIADIC\u003c/code\u003e \u003cem class=\"parameter\"\u003e\u003ccode\u003epath_elems\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext[]\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext\u003c/code\u003e","returns":"text","text":"jsonb_extract_path_text ( from_json jsonb, VARIADIC path_elems text[] ) → text","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
