ERROR: invalid input syntax for type timestamp: "" LINE 5: AND data_aprovacao >= '' ^