You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "FlyingZC (via GitHub)" <gi...@apache.org> on 2023/06/02 03:06:42 UTC
[GitHub] [shardingsphere] FlyingZC opened a new issue, #26003: Failed to execute `SET TRANSACTION ISOLATION` in transaction
FlyingZC opened a new issue, #26003:
URL: https://github.com/apache/shardingsphere/issues/26003
## Bug Report
### Which version of ShardingSphere did you use?
Master.
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
Proxy.
### Expected behavior
Execute sql successfully.
### Actual behavior
Failed to execute sql in transaction
### Reason analyze (If you can)
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Execute in ShardingSphere-Proxy
```sql
begin;
SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY;
-- failed
```
Execute in postgresql
```sql
postgres=# begin;
BEGIN
postgres=*# SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY;
SET
postgres=*# rollback;
ROLLBACK
postgres=# SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ ONLY;
WARNING: SET TRANSACTION can only be used in transaction blocks
SET
```
### Example codes for reproduce this issue (such as a github link).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] boyjoy1127 commented on issue #26003: Failed to execute `SET TRANSACTION ISOLATION` in postgresql transaction
Posted by "boyjoy1127 (via GitHub)" <gi...@apache.org>.
boyjoy1127 commented on issue #26003:
URL: https://github.com/apache/shardingsphere/issues/26003#issuecomment-1585976643
Will this issue be completed before June 15 which is the final date of version 5.4.0?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org