Re: Converting WAL to SQL

Поиск
Список
Период
Сортировка
От Fabrízio de Royes Mello
Тема Re: Converting WAL to SQL
Дата
Msg-id CAFcNs+q26fpvCjLCKBNPwJ=DZYSgjCMiNPvfNKVN+s8CG17NxQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Converting WAL to SQL  (Julien Rouhaud <rjuju123@gmail.com>)
Ответы Re: Converting WAL to SQL  (rajesh singarapu <rajesh.rs0541@gmail.com>)
Список pgsql-hackers

On Wed, Jan 5, 2022 at 2:19 PM Julien Rouhaud <rjuju123@gmail.com> wrote:
>
> On Thu, Jan 6, 2022 at 12:19 AM Bruce Momjian <bruce@momjian.us> wrote:
> >
> > On Tue, Jan  4, 2022 at 10:47:47AM -0300, Fabrízio de Royes Mello wrote:
> > >
> > >
> > > What we did was decode the 9.6 wal files and apply transactions to the
> > > old 9.2 to keep it in sync with the new promoted version. This was our
> > > "rollback" strategy if something went wrong with the new 9.6 version.
> >
> > How did you deal with the issue that SQL isn't granular enough (vs.
> > row-level changes) to reproduce the result reliably, as outlined here?
>
> This is a logical decoding plugin, so it's SQL containing decoded
> row-level changes.  It will behave the same as a
> publication/suscription (apart from being far less performant, due to
> being plain SQL of course).

Exactly!

--
   Fabrízio de Royes Mello         Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

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

Предыдущее
От: "Daniel Westermann (DWE)"
Дата:
Сообщение: Are we missing a dot in initdb's output?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [EXTERNAL] Re: PQcancel does not use tcp_user_timeout, connect_timeout and keepalive settings