Check that numeric is zero

Поиск
Список
Период
Сортировка
От Gabriel Furstenheim Milerud
Тема Check that numeric is zero
Дата
Msg-id CAJN3DWquY5P6X_mZEr4xCx7exJceJv6JxLCCgTX__imnxafuWg@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi,
I'm writing a Postgres native extension and I would like to check that a numeric is zero.

My problem is that all exported methods like numeric_eq or numeric_sign require me to have a numeric to start with, and const_zero is not exported in numeric.c.

Any idea how to check it?

Thanks
Gabriel Fürstenheim 

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

Предыдущее
От: Marc Millas
Дата:
Сообщение: Re: Death postgres
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Death postgres