{"Entry":{"collection":"func","key":"current-schemas","name":"current_schemas","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"7.3"},{"descriptions_changed":false,"doc_overhaul":false,"from":"7.4","group_changed":{"from":"misc","to":"info"},"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.0"},{"descriptions_changed":true,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"8.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"66b8f226694aa87bdd93114394254a547f2211fdc4274bd7c6f5bd4712fd0741","derived_content_hash":"d7f3babdc8e8eb3d147e426dc073a60bd0e80e7c730c13e321cf12964ec14cfe","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:b9ee2651ce881ea43245ca25c605adf4af2e614954502835133cf28610cf788f","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"7.3","group":"info","group_label":"System Information Functions And Operators","groups":["misc","info"],"imported_at":"2026-09-27T17:57:29.04847+08:00","last_version":"20","name":"current_schemas","name_key":"current_schemas","position":28008,"present_in":["7.3","7.4","8.0","8.1","8.2","8.3","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:3b395ae8093d7d9089a6236fae37c69ec97cbd3bbb4aee81647703cedba6a82b","receipt_sha256":"8411cd631fe9bdadedaa294fdf71a4c5ad8d028beb9ba0bea1230a17199e21c6","repair":"wiki-repair-20261023"},"signature":"current_schemas ( include_implicit boolean ) → name[]","signature_count":1,"slug":"current-schemas","source_rev":"wiki-repair-20261023:b9ee2651ce881ea43245ca25c605adf4af2e614954502835133cf28610cf788f","summary":"Returns an array of the names of all schemas presently in the effective search path, in their priority order.","summary_zh":""}},"Definition":{"Collection":"func","Key":"current-schemas","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"current-schemas","SourceRevision":"wiki-repair-20261023:b9ee2651ce881ea43245ca25c605adf4af2e614954502835133cf28610cf788f","Facts":{"description":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current search_path setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is true, then implicitly-searched system schemas such as pg_catalog are included in the result.","description_html":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e, then implicitly-searched system schemas such as \u003ccode class=\"literal\"\u003epg_catalog\u003c/code\u003e are included in the result.","description_zh":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前 search_path 设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为 true，结果还会包含 pg_catalog 等隐式搜索的系统模式。","description_zh_html":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前 \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e 设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为 \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e，结果还会包含 \u003ccode class=\"literal\"\u003epg_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 an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current search_path setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is true, then implicitly-searched system schemas such as pg_catalog are included in the result.","description_html":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e, then implicitly-searched system schemas such as \u003ccode class=\"literal\"\u003epg_catalog\u003c/code\u003e are included in the result.","description_zh":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前 search_path 设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为 true，结果还会包含 pg_catalog 等隐式搜索的系统模式。","description_zh_html":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前 \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e 设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为 \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e，结果还会包含 \u003ccode class=\"literal\"\u003epg_catalog\u003c/code\u003e 等隐式搜索的系统模式。","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_schemas\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003einclude_implicit\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ename[]\u003c/code\u003e","returns":"name[]","text":"current_schemas ( include_implicit boolean ) → 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-schemas","SourceDatabase":"center","Version":"18","Locale":"en","Title":"current_schemas","Summary":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current search_path setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is true, then implicitly-searched system schemas such as pg_catalog are included in the result.","BodyHTML":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\" rel=\"nofollow\"\u003esearch_path\u003c/a\u003e setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is \u003ccode\u003etrue\u003c/code\u003e, then implicitly-searched system schemas such as \u003ccode\u003epg_catalog\u003c/code\u003e are included in the result.","SourceRevision":"wiki-repair-20261023:b9ee2651ce881ea43245ca25c605adf4af2e614954502835133cf28610cf788f","ContentHash":"61df2bdbaba04094d6e27891a59bc3815b6bd72af691995d8ec80e2cdcc3afc3","Payload":{"description":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current search_path setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is true, then implicitly-searched system schemas such as pg_catalog are included in the result.","description_html":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e, then implicitly-searched system schemas such as \u003ccode class=\"literal\"\u003epg_catalog\u003c/code\u003e are included in the result.","signatures":[{"description":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current search_path setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is true, then implicitly-searched system schemas such as pg_catalog are included in the result.","description_html":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e, then implicitly-searched system schemas such as \u003ccode class=\"literal\"\u003epg_catalog\u003c/code\u003e are included in the result.","description_zh":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前 search_path 设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为 true，结果还会包含 pg_catalog 等隐式搜索的系统模式。","description_zh_html":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前 \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e 设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为 \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e，结果还会包含 \u003ccode class=\"literal\"\u003epg_catalog\u003c/code\u003e 等隐式搜索的系统模式。","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_schemas\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003einclude_implicit\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ename[]\u003c/code\u003e","returns":"name[]","text":"current_schemas ( include_implicit boolean ) → name[]","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.3","7.4","8.0","8.1","8.2","8.3","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":"750dcae8edf3f4fab6db71e15c5a4f15884cb77e84d8ffebb4fd1af5195c7eaa","Text":"current_schemas ( include_implicit boolean ) → name[]","Returns":"name[]","Payload":{"description":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current search_path setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is true, then implicitly-searched system schemas such as pg_catalog are included in the result.","description_html":"Returns an array of the names of all schemas presently in the effective search path, in their priority order. (Items in the current \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e setting that do not correspond to existing, searchable schemas are omitted.) If the Boolean argument is \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e, then implicitly-searched system schemas such as \u003ccode class=\"literal\"\u003epg_catalog\u003c/code\u003e are included in the result.","description_zh":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前 search_path 设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为 true，结果还会包含 pg_catalog 等隐式搜索的系统模式。","description_zh_html":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前 \u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\"\u003esearch_path\u003c/a\u003e 设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为 \u003ccode class=\"literal\"\u003etrue\u003c/code\u003e，结果还会包含 \u003ccode class=\"literal\"\u003epg_catalog\u003c/code\u003e 等隐式搜索的系统模式。","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_schemas\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003einclude_implicit\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ename[]\u003c/code\u003e","returns":"name[]","text":"current_schemas ( include_implicit boolean ) → name[]","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
