Re: [v9.3] Extra Daemons (Re: elegant and effective way for running jobs inside a database) - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [v9.3] Extra Daemons (Re: elegant and effective way for running jobs inside a database)
Date
Msg-id 1348696370-sup-8571@alvh.no-ip.org
Whole thread Raw
In response to Re: [v9.3] Extra Daemons (Re: elegant and effective way for running jobs inside a database)  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: [v9.3] Extra Daemons (Re: elegant and effective way for running jobs inside a database)
Re: [v9.3] Extra Daemons (Re: elegant and effective way for running jobs inside a database)
List pgsql-hackers
Excerpts from Alvaro Herrera's message of mié sep 26 13:04:34 -0300 2012:
> Excerpts from Kohei KaiGai's message of mié abr 25 06:40:23 -0300 2012:
>
> > I tried to implement a patch according to the idea. It allows extensions
> > to register an entry point of the self-managed daemon processes,
> > then postmaster start and stop them according to the normal manner.
>
> Here's my attempt at this.  This is loosely based on your code, as well
> as parts of what Simon sent me privately.

Actually please consider this version instead, in which the support to
connect to a database and run transactions actually works.  I have also
added a new sample module (worker_spi) which talks to the server using
the SPI interface.

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

Attachment

pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: data to json enhancements
Next
From: Brian Weaver
Date:
Subject: EVENT Keyword and CREATE TABLE