Re: [HACKERS] pg_background contrib module proposal

Поиск
Список
Период
Сортировка
От Andrew Borodin
Тема Re: [HACKERS] pg_background contrib module proposal
Дата
Msg-id CAJEAwVH4FZvCJJH9ZNArMfqAeJf0_5ubSaUzBTRinvRr=K7ENA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] pg_background contrib module proposal  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] pg_background contrib module proposal  (Andrew Borodin <borodin@octonica.com>)
Список pgsql-hackers
2016-12-09 18:00 GMT+05:00 Robert Haas <robertmhaas@gmail.com>:
> It looks like this could be reworked as a client of Peter Eisentraut's
> background sessions code, which I think is also derived from
> pg_background:
>
> http://archives.postgresql.org/message-id/e1c2d331-ee6a-432d-e9f5-dcf85cffaf29@2ndquadrant.com
>
> That might be good, because then we wouldn't have to maintain two
> copies of the code.

Code looks quite different. I mean bgsession.c code and pg_background.c code.
Definitly, there is possibility to refactor both patches to have
common subset of base routines, they operate with similar concepts.
But to start, it's better to choose which patch goes first, or merge
them.

There is no possibility to make one on base of other since they both
require some work.
Personally, I like C code from pg_background more. It is far better
commented and has more exceptions info for user. But interface of
bgsessions is crispier. Finally, they solve different problems.

I signed up for review there too (in background sessions patch). I
hope I'll have enough resources to provide decent review for both in
december, before commitfest.

Best regards, Andrey Borodin.



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] snapbuild woes
Следующее
От: Joel Jacobson
Дата:
Сообщение: [HACKERS] Typo in doc/src/sgml/catalogs.sgml