Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i34qa-0002W0-JW for pgsql-general@arkaria.postgresql.org; Wed, 28 Aug 2019 20:47:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i34qZ-0002dc-Fi for pgsql-general@arkaria.postgresql.org; Wed, 28 Aug 2019 20:47:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i34qZ-0002WS-1p for pgsql-general@lists.postgresql.org; Wed, 28 Aug 2019 20:47:15 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i34qW-0005Kw-SQ for pgsql-general@postgresql.org; Wed, 28 Aug 2019 20:47:14 +0000 Received: by mail-ed1-x541.google.com with SMTP id w5so1469884edl.8 for ; Wed, 28 Aug 2019 13:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Hd57LQzGzmshGG8CJ9qscTSLQKE0Ve0VoBqH/ECex8I=; b=b7RAl4GKI2QCQxL4n12J6kewIJqBPYIHK3reTv6rlOukWg+2yJPD5W2xCz3TZwlHp5 bchk5xv3sRRH2W2HcJ+O3IFoHXj4volxIWhdC3Z3jmzmFtSz9inVEvToQoVpkwJC9OiX Z4RBtFRK+Z7BTQqioUHU2ThlkdxStL5R0ZgYtBYmMTOZY1gHAZf0ku/xQGCIsK7fegT8 aHFPTxdLhY1OcASIkagNPsZwUO6Kk1dQXjUeMKbvtntOAJH2Gf/kDZwE6aM0EB6KiAiz YflSP77jrnSPy++FpCI/LzSURSWAigoToMOhde9AYM4iDQwzo11ZuDZIvGMDdEOb+qT8 OX5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Hd57LQzGzmshGG8CJ9qscTSLQKE0Ve0VoBqH/ECex8I=; b=DEBLl54LNS4Yb+ontVsH/+MEo2NiEzAiKa2AqZQP8+snNOudVcuuCsMNTAcNNpdou1 AFedH5M+5+HEQ2B3sKE+JXQhNJ6TijslPVXOvO76jlEIeDyKY1Vhn36FZmsyXHp9+7Kt gO0tuEVIXtYzMOttm8ziOYYNOJ0cw5z+O/MDKrQvpieM3S5CGda/kldfutqB7OipqY2s TSoxeGbW8xzfrouFQpbzkvI48ROWfulw5G7/9qvMW8dN8VJL1wdOUBupYDO5MPDBfO24 iQczB2VNsO9sM+DjVjCj7JPYwZblDYYpxRUZxtFRJWG0y3auQrHEDY5hsPHMgQiQruxC muig== X-Gm-Message-State: APjAAAWIpmHISBbgrs7ICdMpkoGpF/eNtDDP3GN7QCkwU2pztUsQgrcd ZP9vJXr4+4/btYmkiwzQRuQ= X-Google-Smtp-Source: APXvYqwBnN8l7NLMmmZNhVAmXzd4va3YmhCaQQ6mysX7CdhSvbKl5m8gobNmpAQx9ZguDiPSzYiGxQ== X-Received: by 2002:a17:906:3507:: with SMTP id r7mr4883600eja.45.1567023570201; Wed, 28 Aug 2019 13:19:30 -0700 (PDT) Received: from hollewijn.internal (217-19-30-105.dsl.cambrium.nl. [217.19.30.105]) by smtp.gmail.com with ESMTPSA id h38sm29182eda.58.2019.08.28.13.19.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Aug 2019 13:19:29 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Question about password character in ECPG's connection string From: Alban Hertroys In-Reply-To: Date: Wed, 28 Aug 2019 22:19:28 +0200 Cc: "Egashira, Yusuke" , Giuseppe Sacco , "pgsql-general@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <1B0DE6CA-7E1F-4AB8-B6D5-D486FEFDD786@gmail.com> References: <848B1649C8A6274AA527C4472CA11EDD5FC70CBE@G01JPEXMBYT02> <848B1649C8A6274AA527C4472CA11EDD5FC76A28@G01JPEXMBYT02> To: Adrian Klaver X-Mailer: Apple Mail (2.3445.104.11) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > 2) "tcp:postgresql://localhost?user=3Dmyuser&password=3Dpassword" = looks like >=20 > "tcp:postgresql://localhost?user=3Dmyuser&password=3Dmy&pwd" >=20 > 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.