Are PostgreSQL column names case-sensitive?

I have a db table say, persons in Postgres handed down by another team that has a column name say, "first_Name". Now am trying to use PG commander to query this table on this column-name.

select * from persons where first_Name="xyz";

And it just returns

ERROR: column “first_Name” does not exist

Not sure if I am doing something silly or is there a workaround to this problem that I am missing?

5 Answers
5

Leave a Comment