Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDyJ6-0002sn-Lj for pgsql-general@arkaria.postgresql.org; Sun, 21 Feb 2021 23:38:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lDyJ5-00052D-AT for pgsql-general@arkaria.postgresql.org; Sun, 21 Feb 2021 23:38:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDyJ4-000512-W2 for pgsql-general@lists.postgresql.org; Sun, 21 Feb 2021 23:38:31 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lDyJ2-0002tX-Fz for pgsql-general@lists.postgresql.org; Sun, 21 Feb 2021 23:38:30 +0000 Received: by mail-pg1-x534.google.com with SMTP id o7so9137137pgl.1 for ; Sun, 21 Feb 2021 15:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=m983RJtYhrCJYdDJkzCF+gVpu47PvklYu4jsRhv6qfQ=; b=sYrucBMDpawxiM6NO7LGn+9IQtN2vPyo76WxuRA4fvzlBRIZT0SVNXmsmo9v6R6pBw 2StJkBaMrXwIwS+5IOUAeqIxrxgT831NidlW6niy1HXyF8N5Xzeq/vPsOG18F3kpeKLt QoNsVA81wwUoYy2orv/0wxwDVPXlHcg2pdBZvp2Qn++ULxHm6CDaq6T/c6pb4RPtx97v OeVbEQu7eZDEY0I4Nn+7BtWqxNcZaTsRqw3586xiekgTTpv40FJa5q6XAubjDDaHOSdY 2moJ2GNzR7vbTvPNMknIV+v3HEF9K3k93CHb247vffqm2WJz60LaO1dpJ72rPHStC1Bx fpyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=m983RJtYhrCJYdDJkzCF+gVpu47PvklYu4jsRhv6qfQ=; b=gj98x0n15br80vxqZ2elYAYJhpuLifKs0WSw/gtBu/h0ljU+2sMN+jgbOc67Tc0pg/ krGERTGf01lb3HEygklI/FyL9TnecsJb7cCGX3F7aYmpEDRDHAcYSbYFkGT06vccB6t2 oIT9YzUvConCR0T4WQun9DxBlGvglI1XnklIdq5J2LBSZeNXCniN63mIzO7tE/UV6RZn JuhqVdD3UXNILIOFPrIkNFAPRNBpvkQYeXSNC+P3Sqh5DBJDCPD3chUbxp+TAvOZOdmF hgAEZrI5mEXs477J6vws7lSu3Taycysxz/kERCJdF5v7gCsiar2r4lxEa9e2nzggcXv8 +4bA== X-Gm-Message-State: AOAM530Vv6Q/cS7FuGY0Y3F+CNB9GhKrQs/+E8Tz6Q71EdFoJ0Xugd6s 1IM4oXLV5j8fJdMcMp/1uXV2B2J33R5S2A== X-Google-Smtp-Source: ABdhPJyKRr4n2+A9qsq6kvbX9DwW+zf+xu3sgxlJIDRE31rHUEuj+AWy/FsudCW4iWNrZYMbT03mYg== X-Received: by 2002:a05:6a00:1506:b029:1bc:6f53:8eb8 with SMTP id q6-20020a056a001506b02901bc6f538eb8mr19422238pfu.36.1613950705774; Sun, 21 Feb 2021 15:38:25 -0800 (PST) Received: from ?IPv6:2600:8801:8800:11::c? ([2600:8801:8800:11::c]) by smtp.gmail.com with ESMTPSA id u14sm4432765pjf.15.2021.02.21.15.38.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Feb 2021 15:38:25 -0800 (PST) From: Guyren Howe X-Mailbutler-Message-Id: B0356FDF-BA87-4E21-AC03-8B2A87297F56 Content-Type: multipart/alternative; boundary="Apple-Mail=_838E72AF-AF92-4B42-9660-0210AD4F2021" Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: How to determine server's own IP address? inet_server_addr not working Message-Id: <8557BEA1-92BA-4F7C-8052-F3B866618A3D@gmail.com> Date: Sun, 21 Feb 2021 15:38:21 -0800 To: "pgsql-general@lists.postgresql.org" X-Mailer: Apple Mail (2.3654.60.0.2.21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_838E72AF-AF92-4B42-9660-0210AD4F2021 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The documentation says that inet_server_addr() does this, but on our = servers it is returning nothing.= --Apple-Mail=_838E72AF-AF92-4B42-9660-0210AD4F2021 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 The = documentation says that inet_server_addr() does this, but on our servers it is = returning nothing.3D""= --Apple-Mail=_838E72AF-AF92-4B42-9660-0210AD4F2021--