Skip site navigation (1) Skip section navigation (2)

Re: Proposal - asynchronous functions

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal - asynchronous functions
Date: 2011-04-26 12:15:09
Message-ID: BANLkTin5S-yc8n-gAqQN7b9SX5TD22ER-Q@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, Apr 26, 2011 at 3:28 AM, Sim Zacks <sim(at)compulab(dot)co(dot)il> wrote:
> Asynchronous functions
>
> *Problem*
> Postgresql does not have support for asynchronous function calls.

Well, there is asynchronous support from the client of course.  Thus
you can set up a asynchronous call back to the database with dblink.
There is some discussion about formalizing this feature -- you might
want to read up on autonomous transactions and how they might be used
to do what you are proposing.

merlin

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-04-26 12:22:43
Subject: Re: Possible deadlock issue when one transaction waiting on other and vice versa? Should, ideally, postgres recognize blocking situation?
Previous:From: Radosław SmoguraDate: 2011-04-26 11:59:45
Subject: Re: Improving the memory allocator

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group