Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > How do I view t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4963 of 5156
Post > Topic >>

How do I view the parameters of a running query?

by rook_5150@[EMAIL PROTECTED] (bryan castillo) May 7, 2008 at 07:51 AM

How can I find out what the parameters are of a running prepared query?

If I look at pg_stat_activity I can see the query, however I don't know
what parameters the prepared statement is using.

-[ RECORD 3 ]-+------------------------------------------------------
datid         | 16391
datname       | warehouse
procpid       | 22428
usesysid      | 16387
usename       | mechturk
current_query | select count(*) from hit.assignment where answer = $1
waiting       | f
xact_start    | 2008-05-07 07:38:23.985758-07
query_start   | 2008-05-07 07:38:23.989455-07
backend_start | 2008-05-07 07:38:23.828444-07
client_addr   | 127.0.0.1
client_****t   | 43664


Thanks.


     
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now. 
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


-- 
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
 




 1 Posts in Topic:
How do I view the parameters of a running query?
rook_5150@[EMAIL PROTECTE  2008-05-07 07:51:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Thu Jul 24 1:17:41 CDT 2008.