Re: [PATCHES] WIP patch for latestCompletedXid method of computing snapshot xmax

2007-09-09 Thread Florian G. Pflug
Tom Lane wrote: "Florian G. Pflug" <[EMAIL PROTECTED]> writes: This guarantee enables a few optimizations. First, as you say in the comments, finding the largest xid when committing becomes trivial. But more important, if we can assume that the proc array xid cache is always sorted, we can get

Re: [PATCHES] WIP patch for latestCompletedXid method of computing snapshot xmax

2007-09-09 Thread Tom Lane
"Florian G. Pflug" <[EMAIL PROTECTED]> writes: > This guarantee enables a few optimizations. First, as you say in the > comments, finding the largest xid when committing becomes trivial. But more > important, if we can assume that the proc array xid cache is always > sorted, we can get ride of the

[PATCHES] psql slash# command

2007-09-09 Thread Sibte Abbas
Attached is the patch for the TODO item mentioned at http://archives.postgresql.org/pgsql-hackers/2007-09/msg00352.php The command has the following synopsis: \#: displays the command history. Like \s but prefixes the lines with line numbers \# : executes the command(if any) executed at the line

Re: [PATCHES] HOT patch - version 15

2007-09-09 Thread Simon Riggs
On Sun, 2007-09-09 at 07:55 -0400, Bruce Momjian wrote: > Simon Riggs wrote: > > On Sat, 2007-09-08 at 23:13 -0400, Bruce Momjian wrote: > > > In summary, I feel we have the HOT mechanics down well, but the open > > > issue is _when_ to activate each operation. > > > > That has been the only open

Re: [PATCHES] HOT patch - version 15

2007-09-09 Thread Bruce Momjian
Simon Riggs wrote: > On Sat, 2007-09-08 at 23:13 -0400, Bruce Momjian wrote: > > In summary, I feel we have the HOT mechanics down well, but the open > > issue is _when_ to activate each operation. > > That has been the only open issue for months. The interplay of behaviour > is where HOT succeeds

Re: [PATCHES] HOT patch - version 15

2007-09-09 Thread Simon Riggs
On Sat, 2007-09-08 at 23:13 -0400, Bruce Momjian wrote: > Defragementation is the HOT feature we really want. Single-chain > pruning is kind of nice because it speeds things up, but isn't > necessary. The fact that the entire chain is on the same page makes me > think that we could just leave si