Some debug with pgsql