haibo-duan opened a new issue, #5411:
URL: https://github.com/apache/inlong/issues/5411

   ### Description
   
   The database and tables creation code of PostgreSQL has the following 
problems:
   - The database connection cannot be reused. It is not a good way to create a 
new connection every time.
   - Instead of creating a database, create a schema.
   - There are some bugs in these codes, as follows:
   
![image](https://user-images.githubusercontent.com/7974845/183418712-34e30928-92c9-44bd-89af-3c2e9d006ac9.png)
   
   
![image](https://user-images.githubusercontent.com/7974845/183418780-bf3e6080-4319-43c2-bb91-ea58712e9632.png)
   
   
   ### InLong Component
   
   InLong Manager
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to