<div dir="ltr">2013/7/12 Daniele Varrazzo <span dir="ltr"><<a href="mailto:piro@develer.com" target="_blank">piro@develer.com</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><span style="color:rgb(34,34,34)">Forse hai PG 9.2, dove la tabella ha cambiato schema. So che la nuova è più facile da leggere, ma non so i dettagli.</span></div></blockquote><div><br></div><div>Sì, 9.2.4.</div>
<div><br></div><div><font face="courier new, monospace">pippo=> \d pg_stat_activity<br></font></div><div><font face="courier new, monospace"> View "pg_catalog.pg_stat_activity"</font></div><div><font face="courier new, monospace"> Column | Type | Modifiers </font></div>
<div><font face="courier new, monospace">------------------+--------------------------+-----------</font></div><div><font face="courier new, monospace"> datid | oid | </font></div><div><font face="courier new, monospace"> datname | name | </font></div>
<div><font face="courier new, monospace"> pid | integer | </font></div><div><font face="courier new, monospace"> usesysid | oid | </font></div><div><font face="courier new, monospace"> usename | name | </font></div>
<div><font face="courier new, monospace"> application_name | text | </font></div><div><font face="courier new, monospace"> client_addr | inet | </font></div><div><font face="courier new, monospace"> client_hostname | text | </font></div>
<div><font face="courier new, monospace"> client_port | integer | </font></div><div><font face="courier new, monospace"> backend_start | timestamp with time zone | </font></div><div><font face="courier new, monospace"> xact_start | timestamp with time zone | </font></div>
<div><font face="courier new, monospace"> query_start | timestamp with time zone | </font></div><div><font face="courier new, monospace"> state_change | timestamp with time zone | </font></div><div><font face="courier new, monospace"> waiting | boolean | </font></div>
<div><font face="courier new, monospace"> state | text | </font></div><div><font face="courier new, monospace"> query | text | </font></div><div><br></div><div>
Devo leggere state o query?</div><div><br></div><div>Ciao.</div><div>Marco.</div><div><br></div></div>-- <br><div><div><div><div><a href="http://beri.it/" target="_blank">http://beri.it/</a> - Un blog</div><div><a href="http://beri.it/i-miei-libri/" target="_blank">http://beri.it/i-miei-libri/</a> - Qualche libro</div>
<div><br></div></div></div></div>
</div></div>