TeslaCN opened a new issue #15206:
URL: https://github.com/apache/shardingsphere/issues/15206
## Bug Report
### Which version of ShardingSphere did you use?
master - 0dcf5c621f93ce0b2f185c234cbb97159da2ec39
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
PostgreSQL Proxy
### Expected behavior
Transaction failed when error occurred, which required client do rollback
explicitly.
```
bmsql=# begin;
BEGIN
bmsql=*# select t;
ERROR: column "t" does not exist
LINE 1: select t;
^
bmsql=!# select 1;
ERROR: current transaction is aborted, commands ignored until end of
transaction block
bmsql=!# abort;
ROLLBACK
```
### Actual behavior
```
sbtest_sharding=> begin;
BEGIN
sbtest_sharding=*> select t;
ERROR: column "t" does not exist
LINE 1: select t;
^
sbtest_sharding=*> select 1;
?column?
----------
1
(1 row)
sbtest_sharding=*> commit;
COMMIT
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]