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

From MauMau
Subject Re: [bug fix] pg_ctl always uses the same event source
Date
Msg-id FEE52EEF58D049BA8A026E74F038EB94@maumau
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>)
List pgsql-hackers
From: "Amit Kapila" <amit.kapila16@gmail.com>
>   Do you think without this the problem reported by you is resolved 
> completely.
>   User can hit same problem, if he tries to follow similar steps mentioned 
> in
>   your first mail. I had tried below steps based on description in your
>   first mail:
>
> If user register/unregister different versions of pgevent.dll blindly,
> then I think
> any fix in this area could not prevent the error "event source not found"

OK, I'll add a check to prevent duplicate registration of the same event 
source with the message:

"The specified event source is already registered."

Please correct me if there's better expression in English.

Are there any other suggestions to make this patch ready for committer?  I'd 
like to make all changes in one submission.

Regards
MauMau




pgsql-hackers by date:

Previous
From: Daniel Erez
Date:
Subject: Re: Add value to error message when size extends
Next
From: Marko Tiikkaja
Date:
Subject: Re: plpgsql.warn_shadow