Neil Conway
4744c1a0a1
Complete the following TODO items:
...
* 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.
2005-05-09 11:31:34 +00:00
PostgreSQL Daemon
2ff501590b
Tag appropriate files for rc3
...
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-12-31 22:04:05 +00:00
Tom Lane
125bf342fd
Convert pg_stat_get_backend_idset to use the existing SRF support.
...
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-10-01 21:03:42 +00:00
Jan Wieck
1ecd035b31
Added hints about the reason, why the command string in
...
the view pg_stat_activity is missing, as per Bruces suggestion.
Jan
2004-02-12 01:44:22 +00:00
Peter Eisentraut
2d13472c9e
OK, some of these syntax errors should be given other codes.
2003-09-15 20:03:37 +00:00
Peter Eisentraut
33d4c828fd
Some "feature not supported" errors are better syntax errors, because the
...
feature they complain about isn't a feature or cannot be implemented without
definitional changes.
2003-09-09 23:22:21 +00:00
Bruce Momjian
089003fb46
pgindent run.
2003-08-04 00:43:34 +00:00
Tom Lane
b6a1d25b0a
Error message editing in utils/adt. Again thanks to Joe Conway for doing
...
the bulk of the heavy lifting ...
2003-07-27 04:53:12 +00:00
Tom Lane
d685417fbb
Avoid repeated computation of the constants date2j(1970, 1, 1) and
...
date2j(2000, 1, 1). Should make for some marginal speed improvement
in date/time operations.
2003-04-04 04:50:44 +00:00
Tom Lane
3b4ca4c0d9
Code review for pg_stat_get_backend_activity_start patch --- fix
...
return type, make protection condition agree with recent change to
pg_stat_get_backend_activity, clean up documentation.
2003-04-04 03:03:54 +00:00
Bruce Momjian
db5d7ccac9
It would also be handy if users could see their own pg_stat_activity
...
queries while the rest remain blank.
Kevin Brown
2003-03-20 18:51:16 +00:00
Bruce Momjian
a18331004a
Add start time to pg_stat_activity
...
Neil Conway
2003-03-20 03:34:57 +00:00
Bruce Momjian
93902e9521
Make usesysid consistently int4, not oid.
...
Catalog patch from Alvaro Herrera for same.
catversion updated. initdb required.
2002-12-04 05:18:38 +00:00
Bruce Momjian
5243f9a998
Allow pg_statistics to be reset by calling pg_stat_reset().
...
Christopher Kings-Lynne
2002-08-20 04:47:52 +00:00
Bruce Momjian
d7859a9570
Rename backend_pid to pg_backend_pid, move docs to monitoring section.
2002-08-04 19:51:30 +00:00
Bruce Momjian
1107531c91
Rename pid function to backend_pid().
2002-07-31 01:49:13 +00:00
Bruce Momjian
f67cb71961
Add function to access backend pid, pg_stat_get_backend_mypid.
2002-07-31 00:40:40 +00:00
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
2001-10-25 05:50:21 +00:00
Tom Lane
b16a8f49a7
pg_stat_get_backend_idset should reset fmgr_info->fn_extra at end of
...
execution, so that it restarts correctly if query tree is used again.
2001-09-30 21:01:39 +00:00
Tom Lane
c31545af27
Suppress gcc warning.
2001-06-25 20:20:02 +00:00
Jan Wieck
140ddb78fe
The new files for statistical system views.
...
Jan
2001-06-22 19:18:36 +00:00