I am trying to perform a query which contains a date through an API. The date should be in a ISO_8601 date format(yyyy-MM-dd'T'HH:mm:ssZ).
For example, one of the tuples in my table could have the date:
2012-11-11T00:00:00+0000.
In unicode it is queried for as follows:
2012-11-11T00%3A00%3A00%2B0000
All my own checks to see if the date is valid passes but I am getting the following SQL Exception:
SQL Exception: ERROR: operator does not exist: timestamp with time zone >= character varying
My code which carries out the queries through the API is written in python. I'm not sure what the exception means? Is it not possible to query for a timestamp with a String?