I have created database with bad symbols at the end of its name.
Now I want to drop it but I don't know how to type its name in the console.
Can I remove databases owned by this user? I tried to DROP OWNED BY devuser
but it does not worked. I see just DROP OWNED
in the console.
Postgresql – Drop database owned by specific user in PostgreSQL
postgresql
Related Question
- Postgresql – Trying to start a newly created cluster in PostgreSQL on Windows
- Postgresql – How to drop an unnamed check constraint in a PostgresQL table
- Postgresql – Find objects linked to a PostgreSQL role
- Postgresql – postgres database user grants to query database owned by other user
- Postgresql – Cannot drop materialized view privileges from user
- Postgresql – Can not drop/change a view
Best Answer
You could also try this from your shell:
I verified this works using bash4.1 on centos6.3 with posgresql8.4 for a database using this unicode character. YMMV