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

From Stephen Frost
Subject Re: Krb5 & multiple DB connections
Date
Msg-id 20060212202902.GO4474@ns.snowman.net
Whole thread Raw
In response to Re: Krb5 & multiple DB connections  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Krb5 & multiple DB connections  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
* 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

pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: User Defined Types in Java
Next
From: Bruce Momjian
Date:
Subject: Re: Krb5 & multiple DB connections