BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.
В списке pgsql-bugs по дате отправления:
| От | PG Bug reporting form |
|---|---|
| Тема | BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT. |
| Дата | |
| Msg-id | 17454-f120d78fa9c3013d@postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT.
|
| Список | pgsql-bugs |
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.
the current behavior:
[postgres@pc67 ~]$ /home/postgres/pgREL1402/bin/psql -p 15431
psql (14.2)
Type "help" for help.
postgres=# select inet_server_port();
inet_server_port
------------------
(1 row)
the expected:
[postgres@pc67 ~]$ /home/postgres/pgREL1402/bin/psql -p 15431
psql (14.2)
Type "help" for help.
postgres=# select inet_server_port();
inet_server_port
------------------
15431
(1 row)
the env:
centos 7 x86
PG14.2
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера