psql returning analyse payload