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 1ip7Ic-0003aB-17 for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jan 2020 09:06:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ip7Ia-0002JT-QO for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jan 2020 09:06:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ip7Ia-0002JM-Ez for pgsql-bugs@lists.postgresql.org; Wed, 08 Jan 2020 09:06:44 +0000 Received: from mail-lj1-f193.google.com ([209.85.208.193]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ip7IW-0001SK-DN for pgsql-bugs@lists.postgresql.org; Wed, 08 Jan 2020 09:06:43 +0000 Received: by mail-lj1-f193.google.com with SMTP id a13so2484321ljm.10 for ; Wed, 08 Jan 2020 01:06:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cK7EdkoylbT+uHrbo0h28j9YKhRF89ALzoS1FFJ2FgA=; b=Pe/BHQu4XQEQaeVaKkbNstppsr44cXhFvhwy3rNjB2c/WS1QJHynwbzWFZSnQe83+E 94l/6m9/JnGKmre8a/4uu4IlTRNR1zJeKJPUtJ6+ferTb0Z0ZiGJLT3nQ/pny9NeeUrH OfD8A7xBfywzzcVsf2kJ2GOWcADI+tmAw9FTDJnIaCjRcKERgvg7nX5CTQoIzScWyXFg J1YQilbE2AjyObXrF0y0ODrNhWXr5j/M4OeOD8EQZ+v60Zmt624R+WcRkoDoCSUi5dza fF/r/rYLydAJ0cyuykR3qpnTAtsvW//ADIXHJD/hZHeLpBzcWi7spdV4aoZ5RheiMhxW 0IUQ== X-Gm-Message-State: APjAAAXe+eAZNUPBF1trSkdrzUxqWRz9KsWgZ+wjHOPYPNIeevfxfkL/ OgDgbhqo0QXAhsl7ZEHZGUFoBHIK X-Google-Smtp-Source: APXvYqwcty7Pqaee+nCGDR2YE+AJCM/GVXocNH5OW3Y6oH3LWsk0YcIRwt7coIQN3An/9et15tj9TA== X-Received: by 2002:a2e:9e16:: with SMTP id e22mr2203412ljk.220.1578474397911; Wed, 08 Jan 2020 01:06:37 -0800 (PST) Received: from [192.168.1.10] (dsl-hkibng22-54f980-150.dhcp.inet.fi. [84.249.128.150]) by smtp.gmail.com with ESMTPSA id w17sm1018625lfn.22.2020.01.08.01.06.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jan 2020 01:06:36 -0800 (PST) Subject: Re: libpq parameter parsing problem To: Jobin Augustine , Oleksandr Shulgin Cc: pgsql-bugs@lists.postgresql.org References: From: Heikki Linnakangas Message-ID: <22b4a79a-5d60-cec0-474e-4a68c8be2b7a@iki.fi> Date: Wed, 8 Jan 2020 11:06:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/01/2020 10:48, Jobin Augustine wrote: > Thanks Alex and Heikki, > > Encoding works and it solved the problem. I find the documentation is > not very clear about it. > Heikki's single line comment was more clear to me than documentation :) > A statement like  "PostgreSQL URI string need to be encoded with > Percent-encoding  " > would have been much better If you could propose a concrete patch to add something like that to the docs, that'd be great. I think adding an example connection URI like that in the docs would be really helpful. - Heikki