Re: Regarding useObjects

Поиск
Список
Период
Сортировка
От Achilleas Mantzios - cloud
Тема Re: Regarding useObjects
Дата
Msg-id ab1749d6-9710-12a4-b0b1-3eb38957ef18@cloud.gatewaynet.com
обсуждение исходный текст
Ответ на Re: Regarding useObjects  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Ответы Re: Regarding useObjects
Список pgsql-jdbc


On 9/27/23 12:55, Vladimir Sitnikov wrote:
> So the problem with using float instead of Float is that it is impossible to have a null float and arrays can have nulls.

There's a feature request for retrieving primitive arrays: https://github.com/pgjdbc/pgjdbc/issues/2939

back in pre-postgresql-42* days we used to use -888 and -888.888 to represent int NULL and float NULL respectively, quite ...primitive but it worked. We should retain this old mapping , but once all systems are up to date we will start storing and reading NULLs in arrays as NULLs.


Vladimir

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

Предыдущее
От: Achilleas Mantzios - cloud
Дата:
Сообщение: Re: Regarding useObjects
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Regarding useObjects