{"Entry":{"collection":"func","key":"current-schema","name":"current_schema","aliases":[],"metadata":{"changed_in":["8.4"],"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":false,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":["current_schema → name"],"removed":["current_schema ( ) → name"]},"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":"8a437432e1b438e048237b6bef1409bd6fc0bc2d9987357bba08454003c0b2bf","first_version":"7.3","group":"info","group_label":"System Information Functions And Operators","groups":["misc","info"],"imported_at":"2026-09-27T17:57:29.045671+08:00","last_version":"20","name":"current_schema","name_key":"current_schema","position":28007,"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_schema → name","signature_count":2,"slug":"current-schema","source_rev":"b7bd9cda","summary":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty).","summary_zh":""}},"Definition":{"Collection":"func","Key":"current-schema","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"current-schema","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_html":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","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 the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_html":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_schema\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"current_schema → name","zh_from":""},{"description":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_html":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_schema\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"current_schema () → name","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"current-schema","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"current_schema","Summary":"返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。","BodyHTML":"返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。\u003cpre\u003ecurrent_schema → name\u003c/pre\u003e返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。\u003cpre\u003ecurrent_schema () → name\u003c/pre\u003e返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。","SourceRevision":"ca936764","ContentHash":"d5ae5a12d306442fd56df9dd935e81fe1472a0571cf20c252de3636b43e2882b","Payload":{"description_zh":"返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。","description_zh_html":"返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。","signatures":[{"description_zh":"返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。","description_zh_html":"返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。","returns":"name","text":"current_schema → name","zh_from":"doc"},{"description_zh":"返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。","description_zh_html":"返回在搜索路径中的第一个模式的名称（如果搜索路径为空则返回空值）。这个模式将用于没有指定目标模式就创建的任何表或其他已命名对象。","returns":"name","text":"current_schema () → 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":"3788fcacd0f95bac6ddb4d69e5b3834afc17897cb7227ba256dabc151713a887","Text":"current_schema → name","Returns":"name","Payload":{"description":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_html":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_schema\u003c/code\u003e → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"current_schema → name","zh_from":""}},{"Version":"18","Ordinal":1,"Hash":"369c7afd9710852503904e547c6edf47e6227971a91553a299b65e1f07578a4c","Text":"current_schema () → name","Returns":"name","Payload":{"description":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_html":"Returns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ecurrent_schema\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003ename\u003c/code\u003e","returns":"name","text":"current_schema () → name","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
