Re: [HACKERS] pg_background contrib module proposal
От | Robert Haas |
---|---|
Тема | Re: [HACKERS] pg_background contrib module proposal |
Дата | |
Msg-id | CA+TgmobKq6V6_PMpoaHgvEX2o58FiL2i7HsUd1p7iwhvcTtFyw@mail.gmail.com обсуждение исходный текст |
Ответ на | pg_background contrib module proposal (amul sul <sulamul@gmail.com>) |
Ответы |
Re: [HACKERS] pg_background contrib module proposal
Re: [HACKERS] pg_background contrib module proposal |
Список | pgsql-hackers |
On Wed, Nov 23, 2016 at 10:46 PM, amul sul <sulamul@gmail.com> wrote: > I would like to take over pg_background patch and repost for > discussion and review. > > Initially Robert Haas has share this for parallelism demonstration[1] > and abandoned later with > summary of open issue[2] with this pg_background patch need to be > fixed, most of them seems to be > addressed in core except handling of type exists without binary > send/recv functions and documentation. > I have added handling for types that don't have binary send/recv > functions in the attach patch and will > work on documentation at the end. > > One concern with this patch is code duplication with > exec_simple_query(), we could > consider Jim Nasby’s patch[3] to overcome this, but certainly we > will end up by complicating > exec_simple_query() to make pg_background happy. > > As discussed previously[1] pg_background is a contrib module that lets > you launch > arbitrary command in a background worker. 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. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: