回复: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.

Поиск
Список
Период
Сортировка
От Wong Simon
Тема 回复: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.
Дата
Msg-id OS3PR01MB6344210DA6DD0567F072C187A4E29@OS3PR01MB6344.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.
Список 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.g.johnston@gmail.com>
发送时间: 2022年4月2日 23:07
收件人: thbytwo@live.cn <thbytwo@live.cn>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.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@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      17454
Logged by:          Laowu wong
Email address:      thbytwo@live.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.
 

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.