From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Hannu Krosing <hannu(at)skype(dot)net> |
Cc: | Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us> |
Subject: | Re: Forcing current WAL file to be archived |
Date: | 2006-08-12 14:59:13 |
Message-ID: | 27727.1155394753@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Hannu Krosing <hannu(at)skype(dot)net> writes:
> hel kenal peval, K, 2006-08-09 kell 10:57, kirjutas Tom Lane:
>> Insert points to the next byte to be written within the internal WAL
>> buffers. The byte(s) preceding it haven't necessarily gotten out of
>> those buffers yet. Write points to the end of what we've actually
>> written to the kernel,
> I assume that it also points to the byte after what is written to
> kernel, or is it tha last byte written ?
Right, it's really first-unwritten-byte for all three pointers.
The two newly added functions to convert WAL locations to filenames
use XLByteToPrevSeg(), so they should do the right thing here
(see comments in src/include/access/xlog_internal.h).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-08-12 15:29:46 | Buildfarm owners: check if your HEAD build is stuck |
Previous Message | Martijn van Oosterhout | 2006-08-12 10:07:16 | Re: 8.2 features status |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2006-08-12 19:35:12 | ECPG regress tests fix for VPATH builds |
Previous Message | Tzahi Fadida | 2006-08-12 10:01:47 | Re: [PATCHES] Adding fulldisjunctions to the contrib |