{"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","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"],"signature":"current_schemas ( include_implicit boolean ) → name[]","signature_count":1,"slug":"current-schemas","source_rev":"b7bd9cda","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":"b7bd9cda","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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","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":"","description_zh_html":"","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"current-schemas","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"current_schemas","Summary":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前search_path设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为true，结果还会包含pg_catalog等隐式搜索的系统模式。","BodyHTML":"返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前\u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\" rel=\"nofollow\"\u003esearch_path\u003c/a\u003e设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为\u003ccode\u003etrue\u003c/code\u003e，结果还会包含\u003ccode\u003epg_catalog\u003c/code\u003e等隐式搜索的系统模式。\u003cpre\u003ecurrent_schemas ( include_implicit boolean ) → name[]\u003c/pre\u003e返回当前有效搜索路径中所有模式名称的数组，按优先级排序。（当前\u003ca href=\"/docs/18/runtime-config-client.html#GUC-SEARCH-PATH\" rel=\"nofollow\"\u003esearch_path\u003c/a\u003e设置中不对应于已存在且可搜索的模式的项会被省略。）如果布尔参数为\u003ccode\u003etrue\u003c/code\u003e，结果还会包含\u003ccode\u003epg_catalog\u003c/code\u003e等隐式搜索的系统模式。","SourceRevision":"ca936764","ContentHash":"e7921ec762cab270e5a65453abada96c301e3262db0578f679c378218ef8acd8","Payload":{"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等隐式搜索的系统模式。","signatures":[{"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等隐式搜索的系统模式。","returns":"name[]","text":"current_schemas ( include_implicit boolean ) → name[]","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"","description_zh_html":"","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
