Re: Question about password character in ECPG's connection string

Luca Ferrari <fluca1978@gmail.com>

From: Luca Ferrari <fluca1978@gmail.com>
To: Alban Hertroys <haramrae@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>, "Egashira, Yusuke" <egashira.yusuke@jp.fujitsu.com>, Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>, "pgsql-general@postgresql.org" <pgsql-general@postgresql.org>
Date: 2019-08-29T06:42:53Z
Lists: pgsql-general
On Wed, Aug 28, 2019 at 10:47 PM Alban Hertroys <haramrae@gmail.com> wrote:
> Perhaps it helps to URL-encode the & in the password as %26?

The OP already did without success.
Could it be needed to escape the & with the backslash or single ticks?

Luca



Commits

  1. Doc: describe the "options" allowed in an ECPG connection target string.

  2. Cosmetic improvements for options-handling code in ECPGconnect().