pgsql: Rewrite gather-write patch into something less obviously bolted

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rewrite gather-write patch into something less obviously bolted
Date: 2005-08-22 23:59:06
Message-ID: 20050822235906.44A3CD7270@svr1.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Rewrite gather-write patch into something less obviously bolted on
after the fact. Fix bug with incorrect test for whether we are at end
of logfile segment. Arrange for writes triggered by XLogInsert's
is-cache-more-than-half-full test to synchronize with the cache boundaries,
so that in long transactions we tend to write alternating halves of the
cache rather than randomly chosen portions of it; this saves one more
write syscall per cache load.

Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.217 -> r1.218)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c.diff?r1=1.217&r2=1.218)

Browse pgsql-committers by date

  From Date Subject
Next Message User Nwakefield 2005-08-23 01:20:48 bizgres - bizgres:
Previous Message Bruce Momjian 2005-08-22 21:32:08 pgsql: Update documentation that non-super users can now do ALTER OWNER.