Re: Fetching Server configured port from C Module

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Fetching Server configured port from C Module
Date: 2013-04-17 19:22:23
Message-ID: 516EF66F.3080401@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Roest 2013-04-17 19:32:00 Re: Fetching Server configured port from C Module
Previous Message Bruce Momjian 2013-04-17 19:21:32 Re: Fetching Server configured port from C Module