0

I have a postgress table called catcodes. When I do

select Catcode from catcodes;

It gives me an error like this

ERROR:  column "catcode" does not exist
LINE 1: select Catcode from catcodes;

when I describe the table there is a column Catcode.

Column | Type |

-------------+-------------------+

Catcode | character varying |

select * from catcodes

works though.

Community
  • 1
  • 1
tsadkan yitbarek
  • 1,360
  • 2
  • 11
  • 28

1 Answers1

1

Postgres is case-sensitive, you should try using quotes

SELECT "Catcode" FROM catcodes;

sql - Postgres Case Sensitivity - Stack Overflow

Chocolord
  • 493
  • 3
  • 12