Re: Working with fixed-point calculations in C

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: Working with fixed-point calculations in C
Дата
Msg-id 20211208110336.bzux5hvczdamk2qk@hjp.at
обсуждение исходный текст
Ответ на Re: Working with fixed-point calculations in C  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 2021-12-07 22:41:38 -0500, Tom Lane wrote:
> I think what you are looking for is NUMERIC.  (The type name NUMBER
> is an Oracle-ism, I believe.  I'm not sure how closely that corresponds
> to our NUMERIC.)

Not very. Oracle NUMBER is a decimal floating point number with a 38
digit mantissa stored in a variable length format.

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: error connecting to pgbouncer admin console
Следующее
От: Shaozhong SHI
Дата:
Сообщение: How to allow null as an option when using regexp_matches?