Re: Backend protocol wanted features - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject Re: Backend protocol wanted features
Date
Msg-id CAB=Je-G3cfx8X_xzxwK8Y+hL5Qqkj+WKSnMkgzBh0oed7UcnxQ@mail.gmail.com
Whole thread Raw
In response to Re: Backend protocol wanted features  (Álvaro Hernández Tortosa <aht@8Kdata.com>)
Responses Re: Backend protocol wanted features
List pgsql-jdbc
>So rather than asking everybody to add new messages to the protocol to support this, wouldn't it be better to support
LDin the driver? 

Well, it would still require to wrap one's mind around to get that efficient.
You do not like to deallocate all server-prepared statements after
each DDL, do you?
On the other hand, JDBC driver does not know changes to which
tables/views/functions/types would impact statements prepared in
current session, thus JDBC driver has no idea which changes it should
subscribe to.

>wouldn't it be better to support LD in the driver?

That's another question. +1 for supporting LD in the driver (for both
internal and external uses).

Vladimir


pgsql-jdbc by date:

Previous
From: Álvaro Hernández Tortosa
Date:
Subject: Re: Backend protocol wanted features
Next
From: Vladimir Sitnikov
Date:
Subject: Re: Are pgrpm changes for JDBC discussed here before submission?