Search Postgresql Archives

how can I get non-truncated version of running sql?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How do i find the FULL query running on a postgres instance?  When I run:

SELECT datname, pid, state, query, age(clock_timestamp(), query_start) AS age
FROM pg_stat_activity
WHERE state <> 'idle'
   AND query NOT LIKE '% FROM pg_stat_activity %'
ORDER BY age;

query seems to be truncated

Thanks!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux