Re: PITR logging control program
От | Alvaro Herrera |
---|---|
Тема | Re: PITR logging control program |
Дата | |
Msg-id | 20040429141113.GG2258@dcc.uchile.cl обсуждение исходный текст |
Ответ на | Re: PITR logging control program (Alvaro Herrera <alvherre@dcc.uchile.cl>) |
Ответы |
Re: PITR logging control program
|
Список | pgsql-hackers |
On Thu, Apr 29, 2004 at 10:07:01AM -0400, Bruce Momjian wrote: > Alvaro Herrera wrote: > > Is the API able to indicate a written but not-yet-filled WAL segment? > > So an archiver could copy the filled part, and refill it later. This > > may be needed because a segment could take a while to be filled. > > I couldn't figure that out, but I don't think it does. It would have to > lock the WAL writes so it could get a good copy, I think, and I didn't > see that. I'm not sure but I don't think so. You don't have to lock the WAL for writing, because it will always write later in the file than you are allowed to read. (If you read more than you were told to, it's your fault as an archiver.) -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) "Et put se mouve" (Galileo Galilei)
В списке pgsql-hackers по дате отправления: