summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/pgstatfuncs.c
AgeCommit message (Collapse)Author
2005-05-09Complete the following TODO items:Neil Conway
* Add session start time to pg_stat_activity * Add the client IP address and port to pg_stat_activity Original patch from Magnus Hagander, code review by Neil Conway. Catalog version bumped. This patch sends the client IP address and port number in every statistics message; that's not ideal, but will be fixed up shortly.
2004-12-31Tag appropriate files for rc3PostgreSQL Daemon
Also performed an initial run through of upgrading our Copyright date to extend to 2005 ... first run here was very simple ... change everything where: grep 1996-2004 && the word 'Copyright' ... scanned through the generated list with 'less' first, and after, to make sure that I only picked up the right entries ...
2004-10-01Convert pg_stat_get_backend_idset to use the existing SRF support.Tom Lane
This seems the cleanest way of fixing its lack of a shutdown callback, which was preventing it from working correctly in a query that didn't run it to completion. Per bug report from Szima GÄbor.
2004-02-12Added hints about the reason, why the command string inJan Wieck
the view pg_stat_activity is missing, as per Bruces suggestion. Jan
2003-09-15OK, some of these syntax errors should be given other codes.Peter Eisentraut
2003-09-09Some "feature not supported" errors are better syntax errors, because thePeter Eisentraut
feature they complain about isn't a feature or cannot be implemented without definitional changes.
2003-08-04pgindent run.Bruce Momjian
2003-07-27Error message editing in utils/adt. Again thanks to Joe Conway for doingTom Lane
the bulk of the heavy lifting ...
2003-04-04Avoid repeated computation of the constants date2j(1970, 1, 1) andTom Lane
date2j(2000, 1, 1). Should make for some marginal speed improvement in date/time operations.
2003-04-04Code review for pg_stat_get_backend_activity_start patch --- fixTom Lane
return type, make protection condition agree with recent change to pg_stat_get_backend_activity, clean up documentation.
2003-03-20It would also be handy if users could see their own pg_stat_activityBruce Momjian
queries while the rest remain blank. Kevin Brown
2003-03-20Add start time to pg_stat_activityBruce Momjian
Neil Conway
2002-12-04Make usesysid consistently int4, not oid.Bruce Momjian
Catalog patch from Alvaro Herrera for same. catversion updated. initdb required.
2002-08-20Allow pg_statistics to be reset by calling pg_stat_reset().Bruce Momjian
Christopher Kings-Lynne
2002-08-04Rename backend_pid to pg_backend_pid, move docs to monitoring section.Bruce Momjian
2002-07-31Rename pid function to backend_pid().Bruce Momjian
2002-07-31Add function to access backend pid, pg_stat_get_backend_mypid.Bruce Momjian
2001-10-25pgindent run on all C files. Java run to follow. initdb/regressionBruce Momjian
tests pass.
2001-09-30pg_stat_get_backend_idset should reset fmgr_info->fn_extra at end ofTom Lane
execution, so that it restarts correctly if query tree is used again.
2001-06-25Suppress gcc warning.Tom Lane
2001-06-22The new files for statistical system views.Jan Wieck
Jan