Re: GSSAPI and V2 protocol

From: Kris Jurka <books(at)ejurka(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: GSSAPI and V2 protocol
Date: 2008-02-05 18:06:01
Message-ID: Pine.BSO.4.64.0802051301480.22552@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 5 Feb 2008, Magnus Hagander wrote:

> On Tue, Jan 29, 2008 at 03:34:19AM -0500, Kris Jurka wrote:
>>
>> Is it possible to authenticate using GSSAPI over the V2 protocol? Is
>> there any documentation on the message formats for V2?
>
> Honestly - don't know :-) Never looked at that part. I mean, the V2
> protocol is *really* old by now, isn't it? Do you actually need it for
> something?
>

The JDBC driver exposes an option to connect via either protocol version.
I was looking at adding GSSAPI support and it seemed orthogonal to the
protocol version used, but I couldn't get it working under V2. People
still use the V2 protocol to connect because it uses string interpolation
for ? in prepared statements while V3 passes them out of line. So for
apps that do things like "SELECT timestamp ? " that will only work under
V2.

Kris Jurka

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-02-05 18:11:41 Re: Remove pg_dump -i option (was Re: Proposed patch: synchronized_scanning GUC variable)
Previous Message Magnus Hagander 2008-02-05 17:56:39 Re: [BUGS] BUG #3909: src\tools\msvc\clean.bat clears parse.h file