Re: Proposal - asynchronous functions - Mailing list pgsql-hackers

From Markus Wanner
Subject Re: Proposal - asynchronous functions
Date
Msg-id 4DB7C43D.2030604@bluegap.ch
Whole thread Raw
In response to Re: Proposal - asynchronous functions  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 04/26/2011 11:17 PM, Robert Haas wrote:
> IIRC, we kind of got stuck on the prerequisite wamalloc patch, and that sunk the whole thing.  :-(

Right, that prerequisite was the largest stumbling block.  As I
certainly mentioned back then, it should be possible to get rid of the
imessages dependency (and thus wamalloc).  So whoever really wants to
implement asynchronous functions (or autonomous transactions) is more
than welcome to try that.

Please keep in mind that you'd need an alternative communication path.
Not only for the bgworker infrastructure itself, but for communication
between the requesting backend and the bgworker (except for
fire-and-forget jobs like autovacuum, of course.  OTOH even those could
benefit from communicating back their state to the coordinator.. eh..
autovacuum launcher).

Regards

Markus


pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: GSoC 2011: Fast GiST index build
Next
From: Heikki Linnakangas
Date:
Subject: Re: GSoC 2011: Fast GiST index build