|
7 | 7 | * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California
|
9 | 9 | *
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.116 2003/05/22 14:39:28 tgl Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.117 2003/06/26 18:23:07 tgl Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -347,7 +347,8 @@ static ControlFileData *ControlFile = NULL;
|
347 | 347 | * For XLByteToSeg, do the computation at face value. For XLByteToPrevSeg,
|
348 | 348 | * a boundary byte is taken to be in the previous segment.This is suitable
|
349 | 349 | * for deciding which segment to write given a pointer to a record end,
|
350 |
| - * for example. |
| 350 | + * for example. (We can assume xrecoff is not zero, since no valid recptr |
| 351 | + * can have that.) |
351 | 352 | */
|
352 | 353 | #defineXLByteToSeg(xlrp,logId,logSeg)\
|
353 | 354 | ( logId = (xlrp).xlogid, \
|
|