vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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_port | 43664 Thanks. __________________________________________________ __________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin |