Re: Krb5 & multiple DB connections * 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD75qOrzgMPqB3kigRAlRpAJ9cBFhgr4DPT39Iii60kq FcSQzBswCfVd9G
9NOQxNTT02nzdG+bh7amP94=
=W7U/
-----END PGP SIGNATURE----- |