Re: Krb5 & multiple DB connections

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Krb5 & multiple DB connections
Date: 2006-02-12 20:49:07
Message-ID: 200602122049.k1CKn7417443@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Then the patch safest for just 8.2 then.

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

Stephen Frost wrote:
-- Start of PGP signed section.
> * Bruce Momjian (pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2006-02-12 21:05:27 Re: Krb5 & multiple DB connections
Previous Message Alvaro Herrera 2006-02-12 20:37:10 Re: [HACKERS] PGUpgrade WAS: Audio interview

Browse pgsql-patches by date

  From Date Subject
Next Message Stephen Frost 2006-02-12 21:05:27 Re: Krb5 & multiple DB connections
Previous Message Alvaro Herrera 2006-02-12 20:31:36 Re: [HACKERS] slow information schema with thausand users, seq.scan