{"Entry":{"collection":"func","key":"inet-server-port","name":"inet_server_port","aliases":[],"metadata":{"changed_in":["8.1"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.0"},{"descriptions_changed":false,"doc_overhaul":false,"from":"8.0","group_changed":null,"signatures":{"added":["inet_server_port ( ) → int"],"removed":["inet_server_port ( ) → int4"]},"status":"changed","to":"8.1"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"94b05f17a81f5b1fdb82d558bc8d000fcd87a9b595e968175e98992d05e8cbf5","derived_content_hash":"6037038d4d39ad96317c4b0f137bc90003f21de1177652665176c2e6ef6070cb","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:d6bb7258ed08ec9ddd81f0f05724b4438f466b3a4fcf9e065e8e4cbffed7389f","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.0","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.104718+08:00","last_version":"20","name":"inet_server_port","name_key":"inet_server_port","position":28029,"present_in":["8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:9574b28157b7d3d01917498ba8153d2b24ab6309c6ad98ef0eb6094edca07675","receipt_sha256":"60a76c6b3ade37dae2b4c4dea548042ef41cbfa02969b2120a4bbb0f8d699a38","repair":"wiki-repair-20261023"},"signature":"inet_server_port () → integer","signature_count":1,"slug":"inet-server-port","source_rev":"wiki-repair-20261023:d6bb7258ed08ec9ddd81f0f05724b4438f466b3a4fcf9e065e8e4cbffed7389f","summary":"Returns the IP port number on which the server accepted the current connection, or NULL if the current connection is via a Unix-domain socket.","summary_zh":""}},"Definition":{"Collection":"func","Key":"inet-server-port","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"inet-server-port","SourceRevision":"wiki-repair-20261023:d6bb7258ed08ec9ddd81f0f05724b4438f466b3a4fcf9e065e8e4cbffed7389f","Facts":{"description":"Returns the IP port number on which the server accepted the current connection, or NULL if the current connection is via a Unix-domain socket.","description_html":"Returns the IP port number on which the server accepted the current connection, or \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the current connection is via a Unix-domain socket.","description_zh":"返回服务器接受当前连接的 IP 端口号，如果当前连接是通过 Unix 域套接字则返回 NULL。","description_zh_html":"返回服务器接受当前连接的 IP 端口号，如果当前连接是通过 Unix 域套接字则返回 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-info.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","version":"18.7"},{"file":"functions-info.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"f9684137c0b9fb17a691c4d905529d114472a507a007c15058f2703962b611d2","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"info","group_label":"系统信息函数和操作符","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Returns the IP port number on which the server accepted the current connection, or NULL if the current connection is via a Unix-domain socket.","description_html":"Returns the IP port number on which the server accepted the current connection, or \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the current connection is via a Unix-domain socket.","description_zh":"返回服务器接受当前连接的 IP 端口号，如果当前连接是通过 Unix 域套接字则返回 NULL。","description_zh_html":"返回服务器接受当前连接的 IP 端口号，如果当前连接是通过 Unix 域套接字则返回 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003einet_server_port\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"inet_server_port () → integer","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-info.html","sha256":"7c33185e79430cfbda432dc4db277115c7ac846afccadfcf904ceb1bf2aa1ba5"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","sha256":"64499116227a087138bb14f29ff6652b200a176d5df3ce2a089c3d5c226b19b3","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"inet-server-port","SourceDatabase":"center","Version":"18","Locale":"en","Title":"inet_server_port","Summary":"Returns the IP port number on which the server accepted the current connection, or NULL if the current connection is via a Unix-domain socket.","BodyHTML":"Returns the IP port number on which the server accepted the current connection, or \u003ccode\u003eNULL\u003c/code\u003e if the current connection is via a Unix-domain socket.","SourceRevision":"wiki-repair-20261023:d6bb7258ed08ec9ddd81f0f05724b4438f466b3a4fcf9e065e8e4cbffed7389f","ContentHash":"9cf336f2746b381be70dd607f6e0eea05cf330a618a462d15877e17eadfbde4f","Payload":{"description":"Returns the IP port number on which the server accepted the current connection, or NULL if the current connection is via a Unix-domain socket.","description_html":"Returns the IP port number on which the server accepted the current connection, or \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the current connection is via a Unix-domain socket.","signatures":[{"description":"Returns the IP port number on which the server accepted the current connection, or NULL if the current connection is via a Unix-domain socket.","description_html":"Returns the IP port number on which the server accepted the current connection, or \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the current connection is via a Unix-domain socket.","description_zh":"返回服务器接受当前连接的 IP 端口号，如果当前连接是通过 Unix 域套接字则返回 NULL。","description_zh_html":"返回服务器接受当前连接的 IP 端口号，如果当前连接是通过 Unix 域套接字则返回 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003einet_server_port\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"inet_server_port () → integer","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"b092ab8ba15e2846d92e47644943ce125b9b78216ac76138f731ae01dc57af06","Text":"inet_server_port () → integer","Returns":"integer","Payload":{"description":"Returns the IP port number on which the server accepted the current connection, or NULL if the current connection is via a Unix-domain socket.","description_html":"Returns the IP port number on which the server accepted the current connection, or \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the current connection is via a Unix-domain socket.","description_zh":"返回服务器接受当前连接的 IP 端口号，如果当前连接是通过 Unix 域套接字则返回 NULL。","description_zh_html":"返回服务器接受当前连接的 IP 端口号，如果当前连接是通过 Unix 域套接字则返回 \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","examples":[],"html":"\u003ccode class=\"function\"\u003einet_server_port\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"inet_server_port () → integer","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
