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 1lFIGj-0007Dd-A0 for pgsql-general@arkaria.postgresql.org; Thu, 25 Feb 2021 15:09:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lFIGi-0005Wt-8U for pgsql-general@arkaria.postgresql.org; Thu, 25 Feb 2021 15:09:32 +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 1lFIGi-0005Wm-11 for pgsql-general@lists.postgresql.org; Thu, 25 Feb 2021 15:09:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFIGf-00023p-RP for pgsql-general@lists.postgresql.org; Thu, 25 Feb 2021 15:09:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 11PF9SpB109142; Thu, 25 Feb 2021 10:09:28 -0500 From: Tom Lane To: =?utf-8?Q?Paul_F=C3=B6rster?= cc: pgsql-general list Subject: Re: PostgreSQL URI In-reply-to: <6E752D6B-487C-463E-B6E2-C32E7FB007EA@gmail.com> References: <6E752D6B-487C-463E-B6E2-C32E7FB007EA@gmail.com> Comments: In-reply-to =?utf-8?Q?Paul_F=C3=B6rster?= message dated "Thu, 25 Feb 2021 15:45:46 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <109140.1614265768.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 25 Feb 2021 10:09:28 -0500 Message-ID: <109141.1614265768@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?utf-8?Q?Paul_F=3DC3=3DB6rster?=3D writes: > in https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONN= STRING it says that the syntax for a PostgreSQL URI is: > postgresql://[user[:password]@][host][:port][,...][/dbname][?param1=3Dva= lue1&...] > What I don't understand is the [,...] part, i.e. optionally repeating ar= gument. You can repeat the host[:port] part, no more. regards, tom lane