Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g80oW-0006Lq-NT for psycopg@arkaria.postgresql.org; Thu, 04 Oct 2018 10:25:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g80oU-0003gG-PA for psycopg@arkaria.postgresql.org; Thu, 04 Oct 2018 10:24:58 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1g80oU-0003g9-KH for psycopg@lists.postgresql.org; Thu, 04 Oct 2018 10:24:58 +0000 Received: from mail.dndg.it ([178.32.136.2]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g80oS-0001YF-6N for psycopg@lists.postgresql.org; Thu, 04 Oct 2018 10:24:58 +0000 Received: from [10.94.33.108] (93-50-194-114.ip153.fastwebnet.it [93.50.194.114]) by mail.dndg.it (Postfix) with ESMTPSA id EFF5AA02E0; Thu, 4 Oct 2018 10:30:17 +0000 (UTC) Subject: Re: Integration of Psycopg with XTA To: Daniele Varrazzo Cc: psycopg@lists.postgresql.org References: <2001056273.7945904.1537909025251.ref@mail.yahoo.com> <2001056273.7945904.1537909025251@mail.yahoo.com> <1171000727.19526618.1537994198139@mail.yahoo.com> <2038369023.20583382.1538078255866@mail.yahoo.com> <106450562.4254785.1538510870700@mail.yahoo.com> <4d647279-19ae-75ea-83a7-b74b647c79bd@dndg.it> <69747703.5400338.1538599809000@mail.yahoo.com> From: Federico Di Gregorio Organization: DNDG srl Message-ID: Date: Thu, 4 Oct 2018 12:24:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SURBL_BLOCKED, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/04/2018 12:13 PM, Daniele Varrazzo wrote: > On Thu, Oct 4, 2018 at 10:33 AM Federico Di Gregorio wrote: >> @Daniele, I see that a capsule has an implicit state, "invalid" if the >> pointer inside it is null. Does it makes sense to reuse the same capsule >> and keep a reference to it to be able to invalidate it when the >> connection is closed? > I can take a look at it but I suspect it's a lot of work for a feature > very rarely used. Nah, I can do it. I was just asking for your opinion. :D federico -- Federico Di Gregorio federico.digregorio@dndg.it DNDG srl http://dndg.it Best friends are often failed lovers. -- Me