Search Postgresql Archives

Analyzing last run query in psql

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

 



I frequently need to analyze the last query in psql:
    select * from table where id = 1;
    explain analyze select * from table where id = 1;

It would be nice to be able to do this:
    explain analyze $LAST

(or can I do something like that already?)

I'm not using psql interactively, I pipe files into psql (if it matters).

Joe

[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