Can PostgreSQL create a case sensitive database?
I ended up writing some code that transforms the SQL generated by the application into PostgreSQL-compatible SQL. It's pretty straightforward:


Split the statement into sensible tokens, skipping single-quoted string literals
Double-quote anything that is not a keyword or number


I also took advantage of this layer to transform calls to isnull to coalesce. So far it's working pretty well.