From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | thbytwo(at)live(dot)cn |
Subject: | BUG #17454: Using psql without ipv4 address,the inet_server_port do not return PORT. |
Date: | 2022-04-02 01:15:20 |
Message-ID: | 17454-f120d78fa9c3013d@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 17454
Logged by: Laowu wong
Email address: 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.
the current behavior:
[postgres(at)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(at)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
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2022-04-02 07:27:49 | Re: Reconnect a single connection used by multiple threads in embedded SQL in C application causes error. |
Previous Message | Julien Rouhaud | 2022-04-01 06:19:46 | Re: BUG #17448: In Windows 10, version 1703 and later, huge_pages doesn't work. |