From: | Wong Simon <thbytwo(at)live(dot)cn> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | 回复: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT. |
Date: | 2022-04-03 01:37:53 |
Message-ID: | OS3PR01MB6344210DA6DD0567F072C187A4E29@OS3PR01MB6344.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
If I run multiple instances on one server with local socket, how can I distinguish them?I think the port is need.
________________________________
发件人: David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
发送时间: 2022年4月2日 23:07
收件人: thbytwo(at)live(dot)cn <thbytwo(at)live(dot)cn>; pgsql-bugs(at)lists(dot)postgresql(dot)org <pgsql-bugs(at)lists(dot)postgresql(dot)org>
主题: Re: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.
On Friday, April 1, 2022, PG Bug reporting form <noreply(at)postgresql(dot)org<mailto:noreply(at)postgresql(dot)org>> wrote:
The following bug has been logged on the website:
Bug reference: 17454
Logged by: Laowu wong
Email address: thbytwo(at)live(dot)cn<mailto:thbytwo(at)live(dot)cn>
PostgreSQL version: 14.2
Operating system: centos 7
Description:
It should return the server port when I execute 'select inet_server_port();'
with the command line 'psql -p 15431'.
It seems that if I do not enter the ipv4 address in the
psql-command-line,the pg will return null.
Right, because the default is to use a local socket.
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2022-04-03 01:40:32 | Re: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT. |
Previous Message | David G. Johnston | 2022-04-02 15:07:21 | Re: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT. |