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  (didier <did447@gmail.com>)
Re: Unsigned 64 bit integer to numeric  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список 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 по дате отправления:

Предыдущее
От: Arthur Zakirov
Дата:
Сообщение: Re: pg_upgrade fails with non-standard ACL
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Simplify passing of configure arguments to pg_config