Debug postgre request