postgresql/src/backend/utils
Magnus Hagander 4f42b546fd Separate state from query string in pg_stat_activity
This separates the state (running/idle/idleintransaction etc) into
it's own field ("state"), and leaves the query field containing just
query text.

The query text will now mean "current query" when a query is running
and "last query" in other states. Accordingly,the field has been
renamed from current_query to query.

Since backwards compatibility was broken anyway to make that, the procpid
field has also been renamed to pid - along with the same field in
pg_stat_replication for consistency.

Scott Mead and Magnus Hagander, review work from Greg Smith
2012-01-19 14:19:20 +01:00
..
adt Separate state from query string in pg_stat_activity 2012-01-19 14:19:20 +01:00
cache Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
error Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
fmgr Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
hash Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
init Make superuser imply replication privilege. The idea of a privilege that 2012-01-14 18:22:16 +02:00
mb Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
misc Catch fatal flex errors in the GUC file lexer. 2012-01-17 20:51:38 -05:00
mmgr Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
resowner Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
sort Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
time Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore Avoid maintaining three separate copies of the error codes list. 2011-02-03 22:32:49 -05:00
errcodes.txt Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Gen_dummy_probes.sed Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Gen_fmgrtab.pl Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
generate-errcodes.pl Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Makefile Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
probes.d Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00