Unsigned 64 bit integer to numeric

Поиск
Список
Период
Сортировка
От Dmitry Dolgov
Тема Unsigned 64 bit integer to numeric
Дата
Msg-id 20191204102659.g6hy2v7siwd7ppng@localhost
обсуждение исходный текст
Ответы Re: Unsigned 64 bit integer to numeric
Re: Unsigned 64 bit integer to numeric
Список pgsql-hackers
Hi,

Probably a simple question, but I don't see a simple answer so far. In
one extension I want to convert uint64 into a numeric to put it
eventually into a jsonb object. As far as I see in numeric.c there are
functions only for signed int64. Is there a way to achive this with
uint64 (without duplicating significant part of numeric implementation
in the extension)?



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