Fix query hints for postgres

No one cares at upstream