pgsql/ ontrib/dbase/dbf.c ontrib/pg_resetxlog/ ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/ ontrib/dbase/dbf.c ontrib/pg_resetxlog/ ...
Date: 2001-06-06 17:07:47
Message-ID: 200106061707.f56H7lC01263@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/06/06 13:07:47

Modified files:
contrib/dbase : dbf.c
contrib/pg_resetxlog: pg_resetxlog.c
src/backend/access/transam: xlog.c
src/backend/storage/file: fd.c
src/backend/storage/smgr: md.c
src/backend/utils/init: miscinit.c

Log message:
Adjust WAL code so that checkpoints truncate the xlog at the previous
checkpoint's redo pointer, not its undo pointer, per discussion in
pghackers a few days ago. No point in hanging onto undo information
until we have the ability to do something with it --- and this solves
a rather large problem with log space for long-running transactions.
Also, change all calls of write() to detect the case where write
returned a count less than requested, but failed to set errno.
Presume that this situation indicates ENOSPC, and give the appropriate
error message, rather than a random message associated with the previous
value of errno.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-06-06 17:18:57 pgsql/src/backend/access/transam Tag: REL7_1_S ...
Previous Message Bruce Momjian 2001-06-06 05:13:13 Re: pgsql/ oc/src/sgml/ref/create_function.sgml rc ...