Kris Jurka wrote:
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.
Ok. I see the reason, but I can't help you further. Requires a deeper
dig in the code, I guess.
Does this mean you have GSSAPI auth working for protocol v3? :-)
//Magnus
---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match