diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-09-11 03:28:05 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-09-11 03:28:05 +0000 |
commit | ef4d38c86c1b1f834bd70115fd19f03431573c2d (patch) | |
tree | 9ceb35a346148e1d3162abefcdabf2eb9b96dde9 /src/include/pgstat.h | |
parent | 82a47982f37077a9bfe67c0e9cc87b4f9b16e34b (diff) |
Rename recently-added pg_stat_activity column from txn_start to xact_start,
for consistency with other column names such as in pg_stat_database.
Diffstat (limited to 'src/include/pgstat.h')
-rw-r--r-- | src/include/pgstat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 960daac5000..93f08cd2fbf 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -5,7 +5,7 @@ * * Copyright (c) 2001-2007, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.64 2007/07/08 22:23:16 tgl Exp $ + * $PostgreSQL: pgsql/src/include/pgstat.h,v 1.65 2007/09/11 03:28:05 tgl Exp $ * ---------- */ #ifndef PGSTAT_H @@ -430,7 +430,7 @@ typedef struct PgBackendStatus /* Times when current backend, transaction, and activity started */ TimestampTz st_proc_start_timestamp; - TimestampTz st_txn_start_timestamp; + TimestampTz st_xact_start_timestamp; TimestampTz st_activity_start_timestamp; /* Database OID, owning user's OID, connection client address */ @@ -501,7 +501,7 @@ extern void pgstat_initialize(void); extern void pgstat_bestart(void); extern void pgstat_report_activity(const char *what); -extern void pgstat_report_txn_timestamp(TimestampTz tstamp); +extern void pgstat_report_xact_timestamp(TimestampTz tstamp); extern void pgstat_report_waiting(bool waiting); extern void pgstat_initstats(Relation rel); |