From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul Förster <paul.foerster@gmail.com>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: PostgreSQL URI
Date: Thu, 25 Feb 2021 10:09:28 -0500
Message-ID: <109141.1614265768@sss.pgh.pa.us> (raw)
In-Reply-To: <6E752D6B-487C-463E-B6E2-C32E7FB007EA@gmail.com>
References: <6E752D6B-487C-463E-B6E2-C32E7FB007EA@gmail.com>
=?utf-8?Q?Paul_F=C3=B6rster?= <paul.foerster@gmail.com> writes:
> in https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING it says that the syntax for a PostgreSQL URI is:
> postgresql://[user[:password]@][host][:port][,...][/dbname][?param1=value1&...]
> What I don't understand is the [,...] part, i.e. optionally repeating argument.
You can repeat the host[:port] part, no more.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, paul.foerster@gmail.com
Subject: Re: PostgreSQL URI
In-Reply-To: <109141.1614265768@sss.pgh.pa.us>
References: <6E752D6B-487C-463E-B6E2-C32E7FB007EA@gmail.com> <109141.1614265768@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox