From: | didier <did447(at)gmail(dot)com> |
---|---|
To: | Dmitry Dolgov <9erthalion6(at)gmail(dot)com> |
Cc: | Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Unsigned 64 bit integer to numeric |
Date: | 2019-12-04 11:42:30 |
Message-ID: | CAJRYxuKdCB3bJL1E=rgS71Vcf4HnYK_XLQyi2YfGhYLu7fS68g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I don't think so, but there's an (unmaintained?) uint extension at
https://github.com/petere/pguint.git
On Wed, Dec 4, 2019 at 11:24 AM Dmitry Dolgov <9erthalion6(at)gmail(dot)com> wrote:
> 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)?
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2019-12-04 11:46:35 | BUG #16147: postgresql 12.1 (from homebrew) - pg_restore -h localhost --jobs=2 crashes |
Previous Message | Eugen Konkov | 2019-12-04 11:39:43 | Re: Does 'instead of delete' trigger support modification of OLD |