Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJavd-0007CF-ER for psycopg@arkaria.postgresql.org; Tue, 09 Mar 2021 11:53:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lJavb-0001eA-J2 for psycopg@arkaria.postgresql.org; Tue, 09 Mar 2021 11:53:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJavb-0001e1-Da for psycopg@lists.postgresql.org; Tue, 09 Mar 2021 11:53:31 +0000 Received: from postak.karlin.mff.cuni.cz ([195.113.30.11]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJavT-0007yQ-OH for psycopg@postgresql.org; Tue, 09 Mar 2021 11:53:30 +0000 Received: from artax.karlin.mff.cuni.cz (artax.karlin.mff.cuni.cz [195.113.26.195]) by postak.karlin.mff.cuni.cz (Postfix) with ESMTPS id 23433208AD; Tue, 9 Mar 2021 12:53:17 +0100 (CET) Received: by artax.karlin.mff.cuni.cz (Postfix, from userid 1975) id 0A3A0828001; Tue, 9 Mar 2021 12:53:16 +0100 (CET) Date: Tue, 9 Mar 2021 12:53:16 +0100 From: Hans Ginzel To: Daniele Varrazzo Cc: Sebastiaan Mannem , psycopg@postgresql.org Subject: Re: connect using env. variables Message-ID: <20210309115316.GP11758@artax.karlin.mff.cuni.cz> References: <20210309104530.GN11758@artax.karlin.mff.cuni.cz> <20210309110619.GO11758@artax.karlin.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thank you. Is there a reason why connect() must get the empty string as parametr, please? On Tue, Mar 09, 2021 at 12:44:27PM +0100, Daniele Varrazzo wrote: >It does: connect("", **parse_dsn()) > >-- Daniele