[FIX] Fix rename field current_query to query for PostgreSQL 9.2 or greater