title: Show full text of running queries in PostgreSQL
body: <p>I want to see the full text of running queries in PostgreSQL.</p>
  
  <p>When I run this command <code>SELECT procpid,current_query FROM pg_stat_activity ORDER BY procpid;</code> in dbshell it shows running queries, but for long queries, it does not show complete query.</p>
  
  <p>For example, if a query has a long text, it does not show the complete text of the query, it only shows 1024 characters of the query and not more.</p>
  
  <p>I want to know is there any way to show the complete query?</p>