Re: Point in Time Recovery
От | HISADAMasaki |
---|---|
Тема | Re: Point in Time Recovery |
Дата | |
Msg-id | 20040715210816.E8A3.HISADA.MASAKI@lab.ntt.co.jp обсуждение исходный текст |
Ответ на | Re: Point in Time Recovery (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: Point in Time Recovery
|
Список | pgsql-hackers |
Dear Simon, I've just tested pitr_v5_2.patch and got an error message during archiving process as follows. -- beginLOG: archive command="cp /usr/local/pgsql/data/pg_xlog/0000000000000000 /tmp",return code=-1 -- end The command called in system(3) works, but it returns -1. system(3) can not get right exit code from its child process, when SIGCHLD is set as SIG_IGN. So I did following change to pgarch_Main() in pgarch.c -- line 236 --- - pgsignal(SIGCHLD, SIG_IGN); -- line 236 --- + pgsignal(SIGCHLD, SIG_DFL); After that, the error message doen't come out and it seems to be working propery. Regards, Hisada, Masaki On Wed, 14 Jul 2004 00:13:37 +0100 Simon Riggs <simon@2ndquadrant.com> wrote: > PITR Patch v5_1 just posted has Point in Time Recovery working.... > > Still some rough edges....but we really need some testers now to give > this a try and let me know what you think. > > Klaus Naumann and Mark Wong are the only [non-committers] to have tried > to run the code (and let me know about it), so please have a look at > [PATCHES] and try it out. > > Many thanks, > > Simon Riggs > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend -- HISADA, Masaki <hisada.masaki@lab.ntt.co.jp>
В списке pgsql-hackers по дате отправления: