PostgreSQL specific entity query implementation. To add a new query implementation extending the default SQL one, add a service definition like