Switch PostgresResult storage to Deque