Re: Patch to add a feature to pg_standby

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Patch to add a feature to pg_standby
Дата
Msg-id 1209566634.4391.505.camel@ebony.site
обсуждение исходный текст
Ответ на Re: Patch to add a feature to pg_standby  (David Fetter <david@fetter.org>)
Ответы Re: Patch to add a feature to pg_standby  (David Fetter <david@fetter.org>)
Список pgsql-patches
On Wed, 2008-04-30 at 07:31 -0700, David Fetter wrote:
> On Wed, Apr 30, 2008 at 12:49:44PM +0100, Simon Riggs wrote:
> > On Wed, 2008-04-30 at 11:29 +0100, Heikki Linnakangas wrote:
> > > This could be implemented by a "pass-through" restore_command,
> > > that calls pg_standby, and does the custom action when pg_standby
> > > returns successfully.
> >
> > Yes, that's the preferred route for most cases.
> >
> > pg_standby was designed to be customisable, so if it works for
> > Chris, thats OK.
> >
> > After some mulling on this, I'm not sure we need to include this in
> > pg_standby however. If we did we'd end up having before/after
> > commands and retry options etc.
>
> Would those be good things to have as a whole package?

I think the answer is we already do. It's called bash.

--
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com


В списке pgsql-patches по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Patch to add a feature to pg_standby
Следующее
От: David Fetter
Дата:
Сообщение: Re: Patch to add a feature to pg_standby