Re: pg_background (and more parallelism infrastructure patches)

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_background (and more parallelism infrastructure patches)
Date: 2014-10-23 00:49:22
Message-ID: 54485092.204@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> What about moving it the opposite direction, from contrib all the way
> into core? The main advantage of that in my book is that it might
> make it easier to reduce the code duplication between pg_background
> and exec_simple_query; the main disadvantage is that it reduces the
> super-user's control, because now the functionality is always
> available instead of being something that the super-user can choose to
> install, or not.
>
> But these are all judgement calls, of course.

I lean toward a push into core because:

1. "I expect that eventually all of this stuff will be
used in core - for parallelism."

2. Contrib is already bloated out. (which is a whole other discussion)

3. I am not sure I buy into the super-user argument. Just because the
functionality is there, doesn't mean it has to be used.

4. "The main advantage of that in my book is that it might
make it easier to reduce the code duplication between pg_background
and exec_simple_query;"

JD

--
Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, @cmdpromptinc
"If we send our children to Caesar for their education, we should
not be surprised when they come back as Romans."

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-10-23 01:02:43 Re: Getting rid of "accept incoming network connections" prompts on OS X
Previous Message Robert Haas 2014-10-23 00:32:10 Re: Getting rid of "accept incoming network connections" prompts on OS X