public inbox for [email protected]
help / color / mirror / Atom feedFrom: Daniele Varrazzo <[email protected]>
To: Federico Di Gregorio <[email protected]>
Cc: [email protected]
Subject: Re: Integration of Psycopg with XTA
Date: Thu, 4 Oct 2018 11:32:38 +0100
Message-ID: <CA+mi_8YEtNM714FNtrexk_qK=oS7hs0fdXTgcGDSq3uuwfNXtg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<CA+mi_8a5Sm=Zum+8uRX+gDLrzzEU+F-x5xjommxL5e7jLBxHkg@mail.gmail.com>
<[email protected]>
<CA+mi_8bZ-hxA2DTshOh15b1GdbET8+EVO5eh9N2qyyfvDgXKCw@mail.gmail.com>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<CA+mi_8YBz5GZRJfqj3Jr+gA4tpR7yd1aYXiPGQU9Sb7hiXJPfA@mail.gmail.com>
<[email protected]>
<CA+mi_8aTsj2d+kyrz+86ZOZ8Srno0T5Px6w+SWqfw5iiSPBkcA@mail.gmail.com>
<[email protected]>
<[email protected]>
<[email protected]>
<CA+mi_8aocV+riKzRLd3s-MfckBo1AGGg1jnRzzuVw1FUGR2jXQ@mail.gmail.com>
<[email protected]>
On Thu, Oct 4, 2018 at 11:24 AM Federico Di Gregorio <[email protected]> wrote:
>
> On 10/04/2018 12:13 PM, Daniele Varrazzo wrote:
> > On Thu, Oct 4, 2018 at 10:33 AM Federico Di Gregorio<[email protected]> 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
I don't know much about the capsule object, its life cycle etc. Yes,
not a huge deal saving it in the connection state and returning always
the same. I just wonder if it's worth the effort.
-- Daniele
view thread (22+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Integration of Psycopg with XTA
In-Reply-To: <CA+mi_8YEtNM714FNtrexk_qK=oS7hs0fdXTgcGDSq3uuwfNXtg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox