I'm trying to run this simple psql command from command line and getting column ns doesn't exists. I'm sure is something pretty silly that I'm missing.
psql -U myuser -p 6432 -h myhost -d mydb-c 'update schema.table set column ='NS' where id <> 123;'
ERROR: column "ns" does not exist
I tried escape E'NS' to 'NS' but didn't work..
Thanks