Did not help
/usr/bin/psql -U postgres -d coba1 -c "select name from users where Date> current_date - 30;"`
same error
--Sent from: http://www.postgresql-archive.org/PostgreSQL-sql-f2142323.html