postgresql/src/backend/tcop
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
..
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
dest.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
fastpath.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
postgres.c Separate state from query string in pg_stat_activity 2012-01-19 14:19:20 +01:00
pquery.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
utility.c Improve behavior of concurrent ALTER TABLE, and do some refactoring. 2012-01-06 22:42:26 -05:00