title: Details Query in pg_stat_statements
body: <p>In pg_stat_statements output (&quot;query&quot; field):</p>
  <p>SELECT * FROM users WHERE id = ?</p>
  <p>How can I get the details of &quot;?&quot; from query in pg_stat_statements?
  Can anybody tell me about this, because I want to track if anyone execute some query.
  Can we also know which ip address this query execute from? so I can monitor if anyone make some modification data in database.</p>
  <p>Thanks for the help.</p>