Re: too short string for SQL in pg_stat_backend_activity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: too short string for SQL in pg_stat_backend_activity
Date: 2004-08-17 14:48:45
Message-ID: 4341.1092754125@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> writes:
> Can I set somewhere an long for text, which is in current_query in
> "pg_catalog.pg_stat_activity"?

No. You could attach gdb to the backend that's running the troublesome
query and do "p debug_query_string" ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2004-08-17 14:55:06 Re: tablespace and sequences?
Previous Message Fabien COELHO 2004-08-17 14:34:21 tablespace and sequences?