Re: Krb5 & multiple DB connections - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Krb5 & multiple DB connections
Date
Msg-id 200602122049.k1CKn7417443@candle.pha.pa.us
Whole thread Raw
In response to Re: Krb5 & multiple DB connections  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Krb5 & multiple DB connections
List pgsql-hackers
Then the patch safest for just 8.2 then.

---------------------------------------------------------------------------

Stephen Frost wrote:
-- Start of PGP signed section.
> * Bruce Momjian (pgman@candle.pha.pa.us) wrote:
> > Is this something we need for 8.1.X?
> 
> Personally, I think it's a bug which should be fixed.  I don't think
> everyone agrees on that though and there are some parts which could be a
> bit controversial.  The main issue is that now the entire Kerberos
> context is recreated on each connection.  Now, it's really not all that
> expensive generally but I can understand the preference to just reopen
> the ccache when it changes.  I tried to do that by just free'ing and
> redo'ing the parts having to do w/ the ccache but it didn't quite pan
> out right and I havn't figured out what I did wrong yet.  The other
> approach would be to actually track the cache name and check if it
> changes.  That's more difficult to do correctly across platforms though
> I think.
> 
>     Thanks,
> 
>         Stephen
-- End of PGP section, PGP failed!

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Krb5 & multiple DB connections
Next
From: Stephen Frost
Date:
Subject: Re: Krb5 & multiple DB connections