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