Re: Hstore PGObject class

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: Hstore PGObject class
Дата
Msg-id
alpine.BSO.2.00.0912140350330.23611@leary.csoft.net
Ответ на
Hstore PGObject class (Petr Jelinek)
Список
Дерево обсуждения
Hstore PGObject class Petr Jelinek <pjmodos@pjmodos.net>
Re: Hstore PGObject class Kris Jurka <books@ejurka.com>
Re: Hstore PGObject class Petr Jelinek <pjmodos@pjmodos.net>


On Sun, 13 Dec 2009, Petr Jelinek wrote:

> I recently implemented hstore class for project I work on and I decided 
> to share it with list.

I did the same thing myself pretty recently, but haven't finished cleaning 
it up.  A quick look at the differences between our versions are that 
your getValue call doesn't handle nulls or strings with backslashes or 
quotes correctly.  The parsing is a little to tricky to read through 
quickly, but I based mine on a pretty literal conversion of the backend C 
code.

Also at the moment the driver is still retaining JDK1.4 compatibility so 
generics can't be used.

Kris Jurka
В списке pgsql-jdbc по дате отправления
От: Petr Jelinek
Дата:
Сообщение: Hstore PGObject class
От: Petr Jelinek
Дата:
Сообщение: Re: Hstore PGObject class
FAQ