Re: [GENERAL] Background worker assistance & review

2015-04-21 Thread Keith Fiske
On Tue, Apr 21, 2015 at 5:47 PM, Keith Fiske wrote: > > > > > > On Fri, Apr 10, 2015 at 1:00 PM, Keith Fiske wrote: > >> >> On Thu, Apr 9, 2015 at 11:56 PM, Craig Ringer >> wrote: >> >>> >>> >>> On 9 April 2015 at 05:35, Keith Fiske wrote: >>>

Re: [GENERAL] Background worker assistance & review

2015-04-21 Thread Keith Fiske
On Fri, Apr 10, 2015 at 1:00 PM, Keith Fiske wrote: > > On Thu, Apr 9, 2015 at 11:56 PM, Craig Ringer > wrote: > >> >> >> On 9 April 2015 at 05:35, Keith Fiske wrote: >> >>> I'm working on a background worker (BGW) for my pg_partman extension. >>> I've gotten the basic

[GENERAL] Background worker assistance & review

2015-04-08 Thread Keith Fiske
I'm working on a background worker (BGW) for my pg_partman extension. I've gotten the basics of it working for my first round, but there's two features I'm missing that I'd like to add before release: 1) Only allow one instance of this BGW to run 2) Create a bgw_terminate_partman() function to sto