Add renamed query_pg.py