You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/30 12:43:18 UTC

[GitHub] [shardingsphere] zjcnb opened a new issue, #17233: Clear error message when create existing database with PostgreSQL

zjcnb opened a new issue, #17233:
URL: https://github.com/apache/shardingsphere/issues/17233

   ### Which version of ShardingSphere did you use?
   
   `master`
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   `ShardingSphere-Proxy`
   
   ### Expected behavior
   
   postgres-# \l
   ```
                                    List of databases
      Name    |  Owner   | Encoding |  Collate   |   Ctype    |   Access privileges
   -----------+----------+----------+------------+------------+-----------------------
    ds0       | postgres | UTF8     | en_US.utf8 | en_US.utf8 |
    postgres  | postgres | UTF8     | en_US.utf8 | en_US.utf8 |
    template0 | postgres | UTF8     | en_US.utf8 | en_US.utf8 | =c/postgres          +
              |          |          |            |            | postgres=CTc/postgres
    template1 | postgres | UTF8     | en_US.utf8 | en_US.utf8 | =c/postgres          +
              |          |          |            |            | postgres=CTc/postgres
    zhao      | postgres | UTF8     | en_US.utf8 | en_US.utf8 |
   (5 rows)
   
   postgres-# create database ds0;
   ERROR:  database "ds0" already exists
   ```
   
   ### Actual behavior
   
   ```
   postgres=> \l
   List of databases
    databasename
   --------------
    postgres
    ss_db
   (2 rows)
   
   postgres=> CREATE DATABASE ss_db;
   `ERROR:  org.apache.shardingsphere.proxy.backend.exception.DBCreateExistsException`
   postgres=>
   ```


-- 
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] TeslaCN closed issue #17233: Clear error message when create existing database with PostgreSQL

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #17233: Clear error message when create existing database with PostgreSQL
URL: https://github.com/apache/shardingsphere/issues/17233


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