This will not work, this is generic issue and not specific to database name only, we need to do proper unescaping of special character for every object name.
( eg: create a schema with name as 'test\’ not go to table node and try to create table by selecting 'test\’ schema, it will fail also)
ERROR: template database "!@#$%^&*()_+{}|:"<>?=-\\][';/.," does not exist message throws if user try to create database with template database that name contain special charterers.
Please note that this issue is not reproducible in other template databases that name is simple one.
Please note that this is not reproduce in pgAdmin3.
Steps:
1. Install pgAdmin4 on Ubuntu 16.04 2. Install PG-9.6-beta 1 installer 3. Expand database node 4. give it's name !#$%^&*()_+{}|:"<>?=-\][';/., 5. Database created successfully 6. Again create new database and give it's name abcd 7. Click on definition tab 8. select template database !#$%^&*()_+{}|:"<>?=-\][';/., 9. Click on Save button
You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: https://redmine.postgresql.org/my/account