Consider supporting PostgreSQL/openGauss search path feature
See original GitHub issueFeature Request
Is your feature request related to a problem?
No.
Describe the feature you would like.
After issue #14004 is completed, ShardingSphere has supported SQL such as CREATE SCHEMA
, ALTER SCHEMA
and DROP SCHEMA
, and allows users to specify schema modifiers when executing SQL, such as:
SELECT * FROM test.t_order;
This SQL will query the data of the t_order table from the test schema.
In order to improve the experience of using PostgreSQL/openGauss schema, we need to support the search_path parameter. Through the SET SEARCH_PATH TO test, public;
statement, users can dynamically switch the schema without going through schema.t_order. For more detail about search_path, we can refer this doc——https://www.postgresql.org/docs/14/ddl-schemas.html#DDL-SCHEMAS-PATH.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Consider supporting PostgreSQL/openGauss schema ...
Users can specify the search_path of PostgreSQL/openGauss by configuring currentSchema=schema_0959,public . When the user executes the SQL ...
Read more >Documentation: 15: 5.9. Schemas - PostgreSQL
The search path works in the same way for data type names, function names, ... consider auditing the public schema for objects named...
Read more >System Information Functions - 华为云
Note: current_schema returns the first valid schema name in the search path. (If the search path is empty or contains no valid schema...
Read more >pq - Go Packages
pq - A pure Go openGauss driver for Go's database/sql package ... PostgreSQL supports a simple publish/subscribe model over database ...
Read more >pgjdbc/src/main/java/org/postgresql/core/v3 ... - Gitee
PostgreSQL does not support bind, exec, simple, sync message flow,. // so we force autosavepoint to use simple if the main query is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello , this issue has not received a reply for several days. This issue is supposed to be closed.
This issue is currently low priority, so I will remove milestone.