Re: pgsql: Add archive_mode='always' option.
От | Fujii Masao |
---|---|
Тема | Re: pgsql: Add archive_mode='always' option. |
Дата | |
Msg-id | CAHGQGwGZwq9MtcCccwm+7c3JiW-kaN+YKg01ReKMjU7t-1rw=g@mail.gmail.com обсуждение исходный текст |
Ответ на | pgsql: Add archive_mode='always' option. (Heikki Linnakangas <heikki.linnakangas@iki.fi>) |
Ответы |
Re: pgsql: Add archive_mode='always' option.
|
Список | pgsql-committers |
On Sat, May 16, 2015 at 12:55 AM, Heikki Linnakangas <heikki.linnakangas@iki.fi> wrote: > Add archive_mode='always' option. > > In 'always' mode, the standby independently archives all files it receives > from the primary. Thanks a lot!! - /* If we have lost the stats collector, try to start a new one */ - if (PgStatPID == 0 && pmState == PM_RUN) - PgStatPID = pgstat_start(); Seems the above code which should exist was removed accidentally. + be handled similarly, but the archive_command must test if the file + being archived exists already, and if the existing file has identical + contents. This requires more care in the archive_command, as it must Isn't it better to enclose archive_command with <varname> tags? Regards, -- Fujii Masao
В списке pgsql-committers по дате отправления: