0

I'm building a command that will execute a direct psql query on an operating system (Ubuntu) command line. Strangely enough the following error always occurs: ERROR: column "value" does not exist.

However, the query works if you are directly logged into the database.

Query:

psql -U testuser -x -c 'SELECT * FROM table where name = "value"'

I have already try different quotes , but it not works Do you have any ideas?

0 Answers0