mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-22 22:20:02 +00:00
fix: correct signature of current_schemas function (#7233)
This commit is contained in:
@@ -13,15 +13,15 @@ SELECT session_user is not null;
|
||||
| t |
|
||||
+----------------------------+
|
||||
|
||||
-- session_user and current_schema
|
||||
-- current_schema
|
||||
-- SQLNESS PROTOCOL POSTGRES
|
||||
select current_schema();
|
||||
select current_schema(), current_schemas(true), current_schemas(false), version(), current_database();
|
||||
|
||||
+------------------+
|
||||
| current_schema() |
|
||||
+------------------+
|
||||
| public |
|
||||
+------------------+
|
||||
+------------------+---------------------------------------------------------+---------------------------------+------------------------------+--------------------+
|
||||
| current_schema() | current_schemas(Boolean(true)) | current_schemas(Boolean(false)) | version | current_database() |
|
||||
+------------------+---------------------------------------------------------+---------------------------------+------------------------------+--------------------+
|
||||
| public | {public,information_schema,pg_catalog,greptime_private} | {public} | 16.3-greptimedb-1.0.0-beta.1 | greptime |
|
||||
+------------------+---------------------------------------------------------+---------------------------------+------------------------------+--------------------+
|
||||
|
||||
-- search_path for pg using schema for now FIXME when support real search_path
|
||||
-- SQLNESS PROTOCOL POSTGRES
|
||||
|
||||
@@ -5,9 +5,9 @@ create database pg_catalog;
|
||||
-- SQLNESS PROTOCOL POSTGRES
|
||||
SELECT session_user is not null;
|
||||
|
||||
-- session_user and current_schema
|
||||
-- current_schema
|
||||
-- SQLNESS PROTOCOL POSTGRES
|
||||
select current_schema();
|
||||
select current_schema(), current_schemas(true), current_schemas(false), version(), current_database();
|
||||
|
||||
-- search_path for pg using schema for now FIXME when support real search_path
|
||||
-- SQLNESS PROTOCOL POSTGRES
|
||||
|
||||
Reference in New Issue
Block a user