question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Name of role/user is not quoted in DDL

See original GitHub issue

System information:

  • DBeaver version The last
  • Additional extensions No

Connection specification:

  • Database name and version PostgreSQL, Firebird, Oracle, maybe some other

Describe the problem you’re observing:

After

CREATE USER "John Doe";
CREATE USER "Вася Пупкин";

See DDL for role/user. If there is space in name of role or user, there is no quoting => invalid DDL.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
LonwoLonwocommented, Mar 12, 2021

yep, you it’s true about User<>Schema. But we don’t have user’s DDL tab and as a schema, he is quoted.

2021-03-12 11_22_45-NEWTABLE - Persist Changes

So. This bug is for PostgreSQL.

0reactions
uslsscommented, Mar 17, 2021

verified

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create PostgreSQL ROLE (user) if it doesn't exist
And you cannot execute dynamic DDL statements in plain SQL. ... Quoting is handled properly, so no special character in password can cause ......
Read more >
hive with SQL Standard-based Authorization - 111505
hi, im trying to setup SQL Standard-based Authorization based on the - 111505.
Read more >
CREATE USER - Snowflake Documentation
Name that the user enters to log into the system. Login names for users must be unique across your entire account. A login...
Read more >
Fixed Database Role - an overview | ScienceDirect Topics
sp_droprolemember 'role', 'user', Removes a login from a database role. sp_helprole, Returns a basic list of all database roles, including fixed database ...
Read more >
SQL Features for Managing Access - Firebird
The SQL set of DDL commands for managing user accounts has been enhanced in Firebird ... previously set tags if they are not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found