Re: [bug fix] pg_ctl always uses the same event source - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [bug fix] pg_ctl always uses the same event source
Date
Msg-id CABUevExi_OjcbrPwPqyxz=u0gp_43n7Fd1Z74M0rbvipcx5hiA@mail.gmail.com
Whole thread Raw
In response to Re: [bug fix] pg_ctl always uses the same event source  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: [bug fix] pg_ctl always uses the same event source  (Amit Kapila <amit.kapila16@gmail.com>)
Re: [bug fix] pg_ctl always uses the same event source  ("MauMau" <maumau307@gmail.com>)
List pgsql-hackers
On Wed, Jul 16, 2014 at 6:37 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> On Tue, Jul 15, 2014 at 8:57 PM, MauMau <maumau307@gmail.com> wrote:
>>
>> From: "Magnus Hagander" <magnus@hagander.net>
>>
>>> Well, it does in a couple of places. I'm nto sure it's that important
>>> (as nobody has AFAIK ever requested that change from for example EDB),
>>> but it's not a bad thing.
>
> I think this is nothing specific to any vendor rather it's good to have
> a define when it is used at multiple places.

Sure, I don't object to the change itself, but the motivation was strange.

There's also the change to throw an error if the source is already
registered, which is potentially a bigger problem. Since the default
will be the same everywhere, do we really want to throw an error when
you install a second version, now that this is the normal state?

There's also definitely a problem in that that codepath fires up a
MessageBox, but it's just a function called in a DLL. It might just as
well be called from a background service or from within an installer
with no visible desktop, at which point the process will appear to be
hung... I'm pretty sure you're not allowed to do that.

-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/



pgsql-hackers by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: BUFFER_LOCK_EXCLUSIVE is used in ginbuildempty().
Next
From: David Rowley
Date:
Subject: Re: Allowing join removals for more join types