Re: PGobject overhaul (was Re: tightening up on use of oid

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: PGobject overhaul (was Re: tightening up on use of oid
Дата
Msg-id Pine.BSO.4.56.0410301013050.10973@leary.csoft.net
обсуждение исходный текст
Ответ на PGobject overhaul (was Re: tightening up on use of oid 0)  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: PGobject overhaul (was Re: tightening up on use of oid
Список pgsql-jdbc

On Thu, 28 Oct 2004, Oliver Jowett wrote:

> For PGobject it turned into a bit of a general overhaul. Currently I have:

These changes are way too drastic for something as minor as preventing a
user from accidentally mutating a NULL PGobject.  These API changes suck
for both developers and users.  There's no way to make a PGobject
implementation compile against both 7.4 and 8.0 drivers.  Altering the
PGline API means user code can't compile against both 7.4 and 8.0 drivers.

If we were providing exciting new features, then maybe, but for now we've
got to find a way to make this work without huge API changes or we should
abandon the whole idea and go back to your original patch.  What
immediately comes to mind is making the PGobject interface an abstract
class with all abstract methods so that a developer can implement a type
that can work with both driver versions.


Kris Jurka

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: setQueryTimeOut
Следующее
От: Euler Taveira de Oliveira
Дата:
Сообщение: Translation update: pt_BR