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 in AMAZON, the server has ubuntu 14 64 bits, when I execute the same select it does not bring the results, I have to put 20,000 seconds to get something back to me. I've already changed the time zone for America / Sao Paulo and nothing, has anyone ever been through this kind of thing? Thank you!