| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
| Cc: | Paul Förster <paul(dot)foerster(at)gmail(dot)com>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: PostgreSQL URI |
| Date: | 2021-02-26 16:13:03 |
| Message-ID: | 284593.1614355983@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> On 2021-Feb-26, Paul Förster wrote:
>> if you remove the outer brackets of host spec, then that means that
>> only the port may be repeated. The repeat is always meant to refer to
>> its immediate preceding argument. The outer brackets make sure that it
>> refers to either of both host *and* port.
> I think an easier fix is to move the repeat to the main line, i.e., make
> it "hostspec[,...]" and then hostspec is only [host][:port].
WFM. Who's going to write the patch? (I can, but if one of you
wants to, be my guest.)
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Paul Förster | 2021-02-26 16:21:42 | Re: PostgreSQL URI |
| Previous Message | Alvaro Herrera | 2021-02-26 15:20:35 | Re: PostgreSQL URI |