Skip to content


DBAL-557: [GH-343] Quote identifiers to avoid errors with CamelCased table|view|sequences names #1766

doctrinebot opened this Issue · 2 comments

2 participants


Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of exu:

Url: #343


If you will have Camel Cased table name e.g: tmp.SomeNiceTable, PostgreSQL is case insensitive when queries are passed by driver but is case sensitive when looks for objects so:

SELECT * FROM tmp.SomeNiceTable;

results in error:

relation "public.somenicetable" does not exist

We should use

SELECT * FROM tmp."SomeNiceTable";

form for queries, quote_ident do the job for Us, but it is not available
in versions prior to 7.3 (


Comment created by @doctrinebot:

A related Github Pull-Request [GH-343] was closed:


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.5 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.