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 1ofrnc-0002WV-RY for pgsql-general@arkaria.postgresql.org; Tue, 04 Oct 2022 23:58:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ofrnb-0005ag-Jz for pgsql-general@arkaria.postgresql.org; Tue, 04 Oct 2022 23:58:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofrnb-0005aL-7q for pgsql-general@lists.postgresql.org; Tue, 04 Oct 2022 23:58:07 +0000 Received: from mail-oa1-x35.google.com ([2001:4860:4864:20::35]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ofrnY-0001ph-QH for pgsql-general@lists.postgresql.org; Tue, 04 Oct 2022 23:58:06 +0000 Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-12c8312131fso18307885fac.4 for ; Tue, 04 Oct 2022 16:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=qs1kuPgACqfmgIG8Ydg9ZXlU0c227os9Pg6ztm6TNGQ=; b=gzbeIG8bZggA/LA+wGhUtrxOugYVwrE1rBPb2N3aknJFzCIGUmZMoTgYWS8E9cbWUu BaWz/jl0Wj1ci2k8lNLbqirGglGdfgg/Fy/pmSHgMykK4H8XqoLCWRUlMNiicv1PjFPr 5b4DoAzRRLeu5EXJlWJs/CU4pkR+h6uWXPJZUKuxFSd6GVAmpM445Q5dicva6rZADGW5 WzmHmkW+3XmVbKGtJjUfv2t155oa8fKp2amiCBeEYKnelnWmT+2OoOX2bLLw+ZLVTRN4 Vf2dwd0ZPIHUC+V2ky1OrqccPGVawDbq7M4Gpnt13mfy008lJqxOL4GsS4xcjk9/rfSL lVHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=qs1kuPgACqfmgIG8Ydg9ZXlU0c227os9Pg6ztm6TNGQ=; b=JFGq6SLr/WX9jjuo5kCPyTgvD6bV2ylsbbj78uN+IOSUjywhMAfJrHKctXmHksbKbQ dngQ5tgkQkxI8nAPyE5Tbiou+T6Fv8c8hYor26WeWnWHU+1IDWJFd6q/YMBtQAqKbkiL qwx8S7P6qTK5ZroNlS3CfKfpSkmsUR7MyOh482K3n9nl+/bGUoAalRRwmVd1bvSKB0Ia eaJEnT405k3Ld3MOMuaOMSr0XH2vNz+1pDCDabfspSSOxuoLtgJ7Od+1YOscEt3gA/H2 13oJ7FRrOgmycIFNpRMW5G7u4ocvDLevV6rTfHh/tj76zl8vdwZx6FCxwEbggHrGCZEN +2aQ== X-Gm-Message-State: ACrzQf0BTwPCiwHsOv/oru3Km791DRvz/2TGPSqxYGa1dMis/IYng46+ 0RoSorq9TDmwGoXbxT81lo9UYB1hoRw= X-Google-Smtp-Source: AMsMyM4Xx5GEICj9+c+lTKyx91BBiBHQU6lqKM/6CVyi4Jk9zOWVYS1GiPhdn9SPMVvgUzwOt+SsIw== X-Received: by 2002:a05:6870:d1cb:b0:12a:e232:688e with SMTP id b11-20020a056870d1cb00b0012ae232688emr1267984oac.24.1664927883499; Tue, 04 Oct 2022 16:58:03 -0700 (PDT) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id b65-20020acab244000000b0034d9042758fsm3514740oif.24.2022.10.04.16.58.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Oct 2022 16:58:02 -0700 (PDT) Message-ID: <01fe52eb-a455-778b-d687-8b95c16e3ab9@gmail.com> Date: Tue, 4 Oct 2022 18:58:01 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: fully qualified domain names and .pgpass Content-Language: en-US To: pgsql-general@lists.postgresql.org References: <20221004173311.uysuoi3uiynq6u23@alvherre.pgsql> From: Ron In-Reply-To: <20221004173311.uysuoi3uiynq6u23@alvherre.pgsql> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/4/22 12:33, Alvaro Herrera wrote: > On 2022-Oct-04, Ron wrote: > >> Sometimes (both interactively and via script) I access a remote Pg server >> via just the bare host name "foobar", and other times via the FQDN >> "foobar.example.com". >> >> I've only been able to get this to work by having two lines in the .pgpass file: > Maybe it would be simpler to do this using a service definition in the > ~/.pg_service.conf file. > https://www.postgresql.org/docs/current/libpq-pgservice.html That did solve my problem: pg_backrest --dbname=service=basebackup -- Angular momentum makes the world go 'round.