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

From Tom Lane
Subject Re: [bug fix] pg_ctl always uses the same event source
Date
Msg-id 10773.1390404797@sss.pgh.pa.us
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
List pgsql-hackers
Amit Kapila <amit.kapila16@gmail.com> writes:
> On Wed, Jan 22, 2014 at 6:54 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>> I wonder if the port number wouldn't be a better choice.  And that
>> could even be done without adding a parameter.

> We need this for register of event source which might be done before
> start of server.

So?  Anything which can know the value of a GUC parameter can certainly
know the selected port number.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: patch: option --if-exists for pg_dump
Next
From: Andres Freund
Date:
Subject: Re: Changeset Extraction v7.1