Execute script against particular database in PostgreSQL
After 2017.2 update there is an option to combine all PG databases on the cluster to one datasource.
When I create .sql file and want to deploy on the server on some particular database I hit Ctrl+Shift+F10 and choose datasource. I have no ability to choose any database and this script is run against default database (postgres in my case).
If I try to attach to console, there is no visibility what database it uses during this moment. Is it any option to choose database as well as datasource during this execution?
请先登录再写评论。
Hi,
Check out Switch current schema or user drop down:
Thank you.
Yes, we added this possibility to 2017.3