Truncated queries when select * from pg_stat_activity - wishlist / feature request

From: Dave Witt <dwitt(at)movenetworks(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Truncated queries when select * from pg_stat_activity - wishlist / feature request
Date: 2008-07-04 00:06:38
Message-ID: 486D698E.1050309@movenetworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Everyone,

My first posting to the group..

I came from a mysql background (~7 years, small/mid database, about
55gig), where I could do "SHOW FULL PROCESSLIST;" to see all the queries
currently queued/running on the system. I found it a very useful feature.

The Postgres equivalent is (roughly) "SELECT * FROM pg_stat_activity;".

..but Postgres only shows the first ~1000 chars from each queued/running
query. I know this is a long-standing issue (from reading other
posts/sites), but I'd like to throw in my vote for showing the entire
query, in some future version (easier said than done, I know). After 5
months of Postgres use, this is by far my biggest wishlist item.

Thanks, congratulations, great work, etc...!

-Dave

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2008-07-04 00:57:42 Re: Git Repository for WITH RECURSIVE and others
Previous Message Russell Smith 2008-07-03 23:10:27 Re: [PATCHES] Removal of the patches email list