Skip site navigation (1) Skip section navigation (2)

Re: RFC: Extend psycopg2.connect to accept all valid parameters?

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Federico Di Gregorio <fog(at)dndg(dot)it>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: RFC: Extend psycopg2.connect to accept all valid parameters?
Date: 2011-11-17 09:58:23
Message-ID: CA+mi_8bZNmgzQNjDL92ci9WQb5VpFCWUat1eMjHQ9MTzk3qPXA@mail.gmail.com (view raw or flat)
Thread:
Lists: psycopg
On Thu, Nov 17, 2011 at 9:49 AM, Daniele Varrazzo
<daniele(dot)varrazzo(at)gmail(dot)com> wrote:
> On Thu, Nov 17, 2011 at 8:31 AM, Federico Di Gregorio <fog(at)dndg(dot)it> wrote:
>
>> Looks good but I have a question: does automatic conversion always
>> generates a valid connection string? Do we need quoting for some of the
>> parameters?
>
> No: just find the docs of the connection string escaping rule.

I mean: does automatic conversion always generate a valid dns? No. Do
we need quoting: yes.

-- Daniele

In response to

psycopg by date

Next:From: Federico Di GregorioDate: 2011-11-17 11:18:45
Subject: Re: RFC: Extend psycopg2.connect to accept all valid parameters?
Previous:From: Daniele VarrazzoDate: 2011-11-17 09:49:06
Subject: Re: RFC: Extend psycopg2.connect to accept all valid parameters?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group