Re: Question about password character in ECPG's connection string - Mailing list pgsql-general

From Alban Hertroys
Subject Re: Question about password character in ECPG's connection string
Date
Msg-id 1B0DE6CA-7E1F-4AB8-B6D5-D486FEFDD786@gmail.com
Whole thread Raw
In response to Re: Question about password character in ECPG's connection string  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Question about password character in ECPG's connection string  (Luca Ferrari <fluca1978@gmail.com>)
List pgsql-general
> 2)  "tcp:postgresql://localhost?user=myuser&password=password" looks like
>
> "tcp:postgresql://localhost?user=myuser&password=my&pwd"
>
> and password is parsed on the & and you also end up with an extra parameter pwd

Perhaps it helps to URL-encode the & in the password as %26?

Alban Hertroys
--
There is always an exception to always.







pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to log 'user time' in postgres logs
Next
From: Laurenz Albe
Date:
Subject: Re: [ext] Re: Pointers towards identifying bulk import bottleneck(walwriter tuning?)