Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: unwrap inner quotes in OID typecasts #12153

Closed
jordanlewis opened this issue Dec 7, 2016 · 0 comments · Fixed by #13429
Closed

sql: unwrap inner quotes in OID typecasts #12153

jordanlewis opened this issue Dec 7, 2016 · 0 comments · Fixed by #13429
Labels
A-sql-pgcompat Semantic compatibility with PostgreSQL

Comments

@jordanlewis
Copy link
Member

ActiveRecord generates '"schema_migrations"'::regclass in one of its initialization queries. Postgres treats this the same as 'schema_migrations'::regclass - we report that there's no relation named "schema_migrations".

Make OID typecasts unwrap any inner quoting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sql-pgcompat Semantic compatibility with PostgreSQL
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants