background sessions

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: background sessions
Date: 2016-11-01 03:25:25
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-hackers

Here is a patch for the background sessions C API and PL/Python support.
This was previously submitted as "autonomous transactions", which
proved controversial, and there have been several suggestions for a new

I have renamed everything, removed all the incomplete PL/pgSQL stuff,
did some refinement on the PL/Python interfaces, added resource owner
management so that you can preserve session handles across transactions.
That allows a pg_background-like behavior implemented in a PL function.
I have also added documentation, so reviewers could start there.
Probably not quite all done yet, but I think it contains a lot of useful
pieces that we could make into something nice.

Peter Eisentraut
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Add-background-sessions.patch text/x-patch 71.8 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Haribabu Kommi 2016-11-01 03:52:34 ECPG BUlk insert support using arrays
Previous Message Thomas Munro 2016-11-01 03:20:14 Re: commit fest manager for CF 2016-11?