apache / shardingsphere

Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.
Apache License 2.0
19.99k stars 6.75k forks source link

Consider supporting PostgreSQL declare cursor, open, fetch, move, close statement #18414

Open strongduanmu opened 2 years ago

strongduanmu commented 2 years ago

Background

After we complete the cursor feature of openGauss in issue #17825, we need to adapt the cursor feature of PostgreSQL. In general, their logic are similar, and the logic of the existing kernel can be supported, but some adaptations are required in the part of SQL syntax parsing and sql statement context extraction.

Subtasks

chakkk309 commented 2 years ago

Hi @strongduanmu, I want to try it.

strongduanmu commented 2 years ago

@chakkk309 Welcome, I will assign this issue to you.

github-actions[bot] commented 2 years ago

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

ThanoshanMV commented 6 months ago

Hi @strongduanmu, shall I try this? 😄

strongduanmu commented 6 months ago

@ThanoshanMV Of course, I will assign this issue to you.

ThanoshanMV commented 6 months ago

Thank you @strongduanmu. I'll take this opportunity to learn read-write splitting and sharding scenarios of the SQL statements 😃