1
I have the following SELECT
SELECT * FROM motoqueiros WHERE now() - INTERVAL '8 SECONDS' <= data_update
It works on my local machine. I created a server on AMAZON, the server has Ubuntu 14 64 bits, when running the same select does not bring the results, I have to put 20,000 seconds to return something. I’ve changed the time zone to America / Sao Paulo and nothing, has anyone ever been through this kind of thing? thanks!
Checked if the Postgresql version is the same?
– Victor T.
There is 9.3 the pc is 9.4
– Rubens Ventura
If possible, run SQL:
SELECT data_update, now() FROM motoqueiros ORDER BY data_update DESC LIMIT 15
and ask your question so we can take a look.– Victor T.
gave that result brother "2016-08-10 10:32:53" - "2016-08-10 13:32:54.549232+00"
– Rubens Ventura