eulerto / pgquarrel

pgquarrel compares PostgreSQL database schemas (DDL)
BSD 3-Clause "New" or "Revised" License
389 stars 42 forks source link

Unterminated string with role name #67

Closed grzegorzk closed 4 years ago

grzegorzk commented 5 years ago

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";

grzegorzk commented 5 years ago

I fixed this within pull request https://github.com/eulerto/pgquarrel/pull/63

eulerto commented 4 years ago

commit cff4f0b90b728e483400d2ba0e53eece524208f2 fixes this issue.