eulerto / pgquarrel

pgquarrel compares PostgreSQL database schemas (DDL)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unterminated string with role name

grzegorzk opened this issue · comments

I found that GRANT USAGE ON SCHEMA foo TO "role-1"; is rendered in a weird way, looks like pgquarrel is trying to escape double quotes and does it in incomplete way like this: GRANT USAGE ON SCHEMA foo TO "\"role-1\";

In cases like this it should be rendered like this: GRANT USAGE ON SCHEMA foo TO "role-1";

I fixed this within pull request #63

commit cff4f0b fixes this issue.