question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider supporting PostgreSQL/openGauss search path feature

See original GitHub issue

Feature 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:open
  • Created a year ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
github-actions[bot]commented, Oct 8, 2022

Hello , this issue has not received a reply for several days. This issue is supposed to be closed.

0reactions
strongduanmucommented, Oct 11, 2022

This issue is currently low priority, so I will remove milestone.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found