Re: Fetching Server configured port from C Module - Mailing list pgsql-general

From John R Pierce
Subject Re: Fetching Server configured port from C Module
Date
Msg-id 516EF66F.3080401@hogranch.com
Whole thread Raw
In response to Fetching Server configured port from C Module  (Mike Roest <mike.roest@replicon.com>)
Responses Re: Fetching Server configured port from C Module
List pgsql-general
On 4/17/2013 12:08 PM, Mike Roest wrote:
> I could hard code the port in the module when we build it but it would
> be nice to be able to change the configured postgres port and not have
> to rebuild the module.
>
> Anyone have any suggestions?


SHOW PORT;

?

works in 9.2, anyways.



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Fetching Server configured port from C Module
Next
From: Mike Roest
Date:
Subject: Re: Fetching Server configured port from C Module