In Postgresql SELECT query first columnName should be enclosed with in double quotes("columnname") and second column not required to enclose in double quotes. Is that a bug with postgresql?
SELECT DISTINCT * FROM tabelName WHERE "CommodityId" = 1 AND column2 = 1;
Don’t really understand the question but its probably not a bug.