From: | amul sul <sulamul(at)gmail(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, Andrew Borodin <amborodin(at)acm(dot)org>, David Fetter <david(at)fetter(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_background contrib module proposal |
Date: | 2017-01-07 06:44:23 |
Message-ID: | CAAJ_b978S1d2HjBx1Z2sR1JZ=rhdua=z36jSCD5=kU9iX2kxOA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all,
Attaching latest pg_background patch for review as per design proposed
on 22 Dec '16 with following minor changes in the api.
Changes:
1. pg_background_launch renamed to pg_background_start
2. pg_background_detach renamed to pg_background_close
3. Added new api to display previously launch background worker & its
result count waiting to be read.
Todo:
1. Documentation.
Thanks to Andrew Borodin & David Fetter for regression test script,
added in the attached version patch.
Note that attached patches need to apply to the top of the Peter
Eisentraut's v2 patch[1].
Patch 0001 is does some changes in BackgroundSession code required by
pg_background, which we are currently discussing on BackgroundSession
thread.
References:
[1] https://www.postgresql.org/message-id/attachment/48403/v2-0001-Add-background-sessions.patch
Regards,
Amul
Attachment | Content-Type | Size |
---|---|---|
0001-Changes-to-Peter-Eisentraut-s-bgsession-v2-patch.patch | application/octet-stream | 5.2 KB |
0002-pg_background-as-client-of-BackgroundSession-v1.patch | application/octet-stream | 17.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2017-01-07 08:06:55 | Re: merging some features from plpgsql2 project |
Previous Message | Amit Kapila | 2017-01-07 06:27:32 | Re: rewrite HeapSatisfiesHOTAndKey |