Re: PostgreSQL URI

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
Cc: pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: PostgreSQL URI
Date: 2021-02-25 15:09:28
Message-ID: 109141.1614265768@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?utf-8?Q?Paul_F=C3=B6rster?= <paul(dot)foerster(at)gmail(dot)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](at)][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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Förster 2021-02-25 15:14:27 Re: PostgreSQL URI
Previous Message Tom Lane 2021-02-25 15:06:54 Re: Extension intarray and null values