Re: [HACKERS] background sessions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] background sessions
Date
Msg-id 6345a201-c97d-93ab-8bdf-ef787fbd7be6@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] background sessions  (Andrew Borodin <borodin@octonica.com>)
Responses Re: [HACKERS] background sessions  (Andrew Borodin <borodin@octonica.com>)
List pgsql-hackers
On 12/11/16 5:38 AM, Andrew Borodin wrote:
> 2. From my point of view the interface of the feature is the strong
> point here (compared to pg_background). But it does not help
> programmer to follow good practice: bgworker is a valuable and limited
> resource, may be we could start session with something like
> TryBeginSession()?

What exactly would that do?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: [HACKERS] [PATCH] Add GUCs for predicate lock promotion thresholds
Next
From: ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Date:
Subject: Re: [HACKERS] [PATCH] Add GUCs for predicate lock promotion thresholds