diff options
| author | Tom Lane | 2001-02-26 00:50:08 +0000 |
|---|---|---|
| committer | Tom Lane | 2001-02-26 00:50:08 +0000 |
| commit | 9c9936587c6a9aeb8b425a499cf73e5e7af38ddd (patch) | |
| tree | f1d7328907a9ffb8a9319b689a9bb40f7e1d0313 /src/bin | |
| parent | 60774e821060dd6d6395504d4ccda107d2a71a42 (diff) | |
Implement COMMIT_SIBLINGS parameter to allow pre-commit delay to occur
only if at least N other backends currently have open transactions. This
is not a great deal of intelligence about whether a delay might be
profitable ... but it beats no intelligence at all. Note that the default
COMMIT_DELAY is still zero --- this new code does nothing unless that
setting is changed.
Also, mark ENABLEFSYNC as a system-wide setting. It's no longer safe to
allow that to be set per-backend, since we may be relying on some other
backend's fsync to have synced the WAL log.
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/psql/tab-complete.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c index 8e73b57b667..8528310b18f 100644 --- a/src/bin/psql/tab-complete.c +++ b/src/bin/psql/tab-complete.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.26 2001/02/10 02:31:28 tgl Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/tab-complete.c,v 1.27 2001/02/26 00:50:07 tgl Exp $ */ /*---------------------------------------------------------------------- @@ -241,6 +241,7 @@ psql_completion(char *text, int start, int end) "debug_level", "max_expr_depth", "commit_delay", + "commit_siblings", "effective_cache_size", "random_page_cost", |
