Show xid and xmin in pg_stat_activity and pg_stat_replication.
Robert Haas <rhaas@postgresql.org>
Show xid and xmin in pg_stat_activity and pg_stat_replication. Christian Kruse, reviewed by Andres Freund and myself, with further minor adjustments by me.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +16 −0 |
| src/backend/catalog/system_views.sql | modified | +3 −0 |
| src/backend/postmaster/pgstat.c | modified | +39 −11 |
| src/backend/storage/ipc/sinvaladt.c | modified | +32 −0 |
| src/backend/utils/adt/pgstatfuncs.c | modified | +22 −5 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +1 −1 |
| src/include/pgstat.h | modified | +29 −0 |
| src/include/storage/sinvaladt.h | modified | +1 −0 |
| src/test/regress/expected/rules.out | modified | +5 −2 |