Re: pg_waldump and PREPARE

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_waldump and PREPARE
Дата
Msg-id 20190425190836.GA6844@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pg_waldump and PREPARE  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: pg_waldump and PREPARE  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2019-Apr-26, Fujii Masao wrote:

> On Fri, Apr 26, 2019 at 1:04 AM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:

> >  I also wonder if
> > defining the structs in the way you do is the most sensible arrangement.
> 
> I did that arrangement because the format of PREPARE TRANSACTION record,
> i.e., that struct, also needs to be accessed in backend and frontend.
> But, of course, if there is smarter way, I'm happy to adopt that!

I don't know.  I spent some time staring at the code involved, and it
seems it'd be possible to improve just a little bit on cleanliness
grounds, with a lot of effort, but not enough practical value.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Segfault when restoring -Fd dump on current HEAD
Следующее
От: Tom Lane
Дата:
Сообщение: Re: jsonpath