postgresql/src/include
Tom Lane 3c2313f481 Change the pgstat logic so that the stats collector writes the stats file only
upon requests from backends, rather than on a fixed 500msec cycle.  (There's
still throttling logic to ensure it writes no more often than once per
500msec, though.)  This should result in a significant reduction in stats file
write traffic in typical scenarios where the stats are demanded only
infrequently.

This approach also means that the former difficulty with changing
stats_temp_directory on-the-fly has gone away, so remove the caution about
that as well as the thrashing we did to minimize the trouble window.

In passing, also fix pgstat_report_stat() so that we will send a stats
message if we have function call stats but not table stats to report;
this fixes a bug in the recent patch to support function-call stats.

Martin Pihlak
2008-11-03 01:17:08 +00:00
..
access Remove all uses of the deprecated functions heap_formtuple, heap_modifytuple, 2008-11-02 01:45:28 +00:00
bootstrap Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
catalog Add support for user-defined I/O conversion casts. 2008-10-31 08:39:22 +00:00
commands Reduce the memory footprint of large pending-trigger-event lists, as per my 2008-10-24 23:42:35 +00:00
executor Simplify ExecutorRun's API and save some trivial number of cycles by having 2008-10-31 21:07:55 +00:00
lib Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
libpq Remove support for (insecure) crypt authentication. 2008-10-28 12:10:44 +00:00
mb Unicode escapes in strings and identifiers 2008-10-29 08:04:54 +00:00
nodes Allow SQL-language functions to return the output of an INSERT/UPDATE/DELETE 2008-10-31 19:37:56 +00:00
optimizer Add a concept of "placeholder" variables to the planner. These are variables 2008-10-21 20:42:53 +00:00
parser Modify the parser's error reporting to include a specific hint for the case 2008-10-08 01:14:44 +00:00
port Add $PostgreSQL$ markers to a lot of files that were missing them. 2008-05-17 01:28:26 +00:00
portability Add support for tracking call counts and elapsed runtime for user-defined 2008-05-15 00:17:41 +00:00
postmaster Introduce the concept of relation forks. An smgr relation can now consist 2008-08-11 11:05:11 +00:00
regex Convert three more guc settings to enum type: 2008-04-02 14:42:56 +00:00
rewrite Add a bunch of new error location reports to parse-analysis error messages. 2008-09-01 20:42:46 +00:00
snowball Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
storage Remove the last vestiges of the MAKE_PTR/MAKE_OFFSET mechanism. We haven't 2008-11-02 21:24:52 +00:00
tcop Allow SQL-language functions to return the output of an INSERT/UPDATE/DELETE 2008-10-31 19:37:56 +00:00
tsearch Improve headeline generation. Now headline can contain 2008-10-17 18:05:19 +00:00
utils Install a more robust solution for the problem of infinite error-processing 2008-10-27 19:37:22 +00:00
c.h Un-break non-NLS builds. 2008-10-09 22:23:46 +00:00
fmgr.h If a loadable module has wrong values in its magic block, spell out 2008-09-03 22:34:50 +00:00
funcapi.h Remove all uses of the deprecated functions heap_formtuple, heap_modifytuple, 2008-11-02 01:45:28 +00:00
getaddrinfo.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
getopt_long.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
Makefile Remove all traces that suggest that a non-Bison yacc might be supported, and 2008-08-29 13:02:33 +00:00
miscadmin.h Improve translatability of error messages for external modules by tweaking 2008-10-09 17:24:05 +00:00
pg_config.h.in Extend yesterday's patch making BLCKSZ and RELSEG_SIZE configurable to also 2008-05-02 19:52:37 +00:00
pg_config.h.win32 Provide for MSVC config equivalents of recently added configure options. Remove 2008-05-03 00:24:06 +00:00
pg_config_manual.h Don't make --enable-cassert turn on RANDOMIZE_ALLOCATED_MEMORY automatically; 2008-07-12 02:28:43 +00:00
pg_trace.h Enable probes to work with Mac OS X Leopard and other OSes that will 2008-03-17 19:44:41 +00:00
pgstat.h Change the pgstat logic so that the stats collector writes the stats file only 2008-11-03 01:17:08 +00:00
pgtime.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
port.h Fix rmtree() so that it keeps going after failure to remove any individual 2008-04-18 17:05:45 +00:00
postgres.h Allow float8, int8, and related datatypes to be passed by value on machines 2008-04-21 00:26:47 +00:00
postgres_ext.h Move NAMEDATALEN definition from postgres_ext.h to pg_config_manual.h. It 2007-02-06 09:16:08 +00:00
postgres_fe.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
rusagestub.h Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00