{"Entry":{"collection":"func","key":"inet-server-addr","name":"inet_server_addr","aliases":[],"metadata":{"changed_in":[],"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":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"02edaf83fb87ac7085fcdca830063bd7e3e21d845de60c69d980040bd6c1c49e","first_version":"8.0","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.102029+08:00","last_version":"20","name":"inet_server_addr","name_key":"inet_server_addr","position":28028,"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"],"signature":"inet_server_addr () → inet","signature_count":1,"slug":"inet-server-addr","source_rev":"b7bd9cda","summary":"Returns the IP address 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-addr","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"inet-server-addr","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the IP address 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 address 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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Returns the IP address 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 address 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":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003einet_server_addr\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003einet\u003c/code\u003e","returns":"inet","text":"inet_server_addr () → inet","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"inet-server-addr","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"inet_server_addr","Summary":"返回服务器接受当前连接的IP地址，如果当前连接是通过Unix 域套接字则返回NULL。","BodyHTML":"返回服务器接受当前连接的IP地址，如果当前连接是通过Unix 域套接字则返回\u003ccode\u003eNULL\u003c/code\u003e。\u003cpre\u003einet_server_addr () → inet\u003c/pre\u003e返回服务器接受当前连接的IP地址，如果当前连接是通过Unix 域套接字则返回\u003ccode\u003eNULL\u003c/code\u003e。","SourceRevision":"ca936764","ContentHash":"616dd8491ded507db44161836f0a8b4096e174f07a5124fac1c6e3cb10c96223","Payload":{"description_zh":"返回服务器接受当前连接的IP地址，如果当前连接是通过Unix 域套接字则返回NULL。","description_zh_html":"返回服务器接受当前连接的IP地址，如果当前连接是通过Unix 域套接字则返回\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","signatures":[{"description_zh":"返回服务器接受当前连接的IP地址，如果当前连接是通过Unix 域套接字则返回NULL。","description_zh_html":"返回服务器接受当前连接的IP地址，如果当前连接是通过Unix 域套接字则返回\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。","returns":"inet","text":"inet_server_addr () → inet","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"7ea88d0d5e9a7416c40f769d170a06cc2ac7eb1699db30d195e832da2e002d22","Text":"inet_server_addr () → inet","Returns":"inet","Payload":{"description":"Returns the IP address 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 address 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":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003einet_server_addr\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003einet\u003c/code\u003e","returns":"inet","text":"inet_server_addr () → inet","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
