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 1lFeP9-0001XI-MO for pgsql-general@arkaria.postgresql.org; Fri, 26 Feb 2021 14:47:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lFeP8-0007Oq-CH for pgsql-general@arkaria.postgresql.org; Fri, 26 Feb 2021 14:47:42 +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 1lFeP8-0007Oj-2T for pgsql-general@lists.postgresql.org; Fri, 26 Feb 2021 14:47:42 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lFeP5-0004Yj-IU for pgsql-general@lists.postgresql.org; Fri, 26 Feb 2021 14:47:40 +0000 Received: by mail-wr1-x434.google.com with SMTP id d11so8824517wrj.7 for ; Fri, 26 Feb 2021 06:47:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tohxnR78atOzyHFBujK9z5AWk8b+hTA/oMJdsOZJwos=; b=u8iOukov0dsxhKjrbISg+fElaoRuEh2OS6VxG1yFvUVJRFuulA+p4ruQmSWh/f1Gb9 QLfNKK/MtNr6Jd6osaHOEdlZTSL5MJSXzAqx29CSzRBbc6SLcg4pqLOw16JAj3aCTycJ CwMByooApatTVoeb9yBOmbMDix44pn+oK1cX3Z4WoxpdCslHf/zEmxGTu90oJXdO8Je1 0yA6+naVVkL2ecRDzVTG1VjEwlWtT9C/zUZveprYVBzh/Zu0FMEdHukBUHhWGz70lVAh MYnCWgVQyrIBjwCyoOjZAv/S7z73RhAEi3zQmrEMpiRJLBkFzFEk9aTSCUI2+wUJAHIk sh4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tohxnR78atOzyHFBujK9z5AWk8b+hTA/oMJdsOZJwos=; b=L6h5jU97LwMYTkr9ZGGXpgvsA7e/Nl9lzJ8hNSGmjfQxxrvuGw8CG0iD1nTeRaRkUr mqshJf+ZR9UBgPpV5nuilTQMcvKGgplZiW6joNU3sVlcLtqlTMV1mzU2OydMBnirOud4 zwWdD6ezSx73StvLAj36pKYcvUzwxnvfYJ1pZtFGxFL8HrG1L4dW0Dji+DvogAT+1OQf 2huMh9Tf16/YfCmWgDgZZKlcM4lew2hoJ47fID9dfKlNuznymMTeEaQ/HVS6XxJCBqWl e0A77rl0uzxdhI5hs4CtF7nedXpI2WSGAonksDM5Au8Y67Q+Fb4G8MObFJOhAReGc10J qjHQ== X-Gm-Message-State: AOAM533Us55wo9+LDHD19U9kgj5M7eLK/g30diu3Mv5gAniYk1VH7nYk IlMRzWzoi1jbwIuFf7nHqYo= X-Google-Smtp-Source: ABdhPJz9OElQpcrwL/OR0AowUi5JsxvMwtBZ0dqREQSvmgF1KUOvUmGKRtyzZyba8Vm+M9DLJsRkeg== X-Received: by 2002:a5d:4e41:: with SMTP id r1mr3628444wrt.6.1614350858138; Fri, 26 Feb 2021 06:47:38 -0800 (PST) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id c35sm5095746wmp.3.2021.02.26.06.47.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Feb 2021 06:47:37 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: PostgreSQL URI From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: <20210226143050.GA875@alvherre.pgsql> Date: Fri, 26 Feb 2021 15:47:37 +0100 Cc: Tom Lane , pgsql-general list Content-Transfer-Encoding: 7bit Message-Id: References: <20210226143050.GA875@alvherre.pgsql> To: Alvaro Herrera X-Mailer: Apple Mail (2.3654.60.0.2.21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Alvaro, > On 26. Feb, 2021, at 15:30, Alvaro Herrera wrote: > > We could say something like > > postgresql://[userspec@][hostspec][/dbname][?paramspec] > > where > userspec is user[:password] > hostspec is [[host][:port]][,...] > paramspec is param1=value1&... > > which makes it easier to focus on each part separately, and we can > provide more verbose explanations or examples where needed. (Now that I > broke it up, the original line became very clear to me, but when I saw > it in isolation it was not. You need to count brackets carefully to be > able to read it.) +1 Cheers, Paul