Re: manipulating NUMERIC values in C extension

Поиск
Список
Период
Сортировка
От Geoff Winkless
Тема Re: manipulating NUMERIC values in C extension
Дата
Msg-id CAEzk6fceWBJ_iPWordKGNmyyYBxzi=kAEOVi6CCZnket=ZhHig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: manipulating NUMERIC values in C extension  (John McKown <john.archie.mckown@gmail.com>)
Список pgsql-general
On Fri, 8 Jun 2018 at 13:44, John McKown <john.archie.mckown@gmail.com> wrote:
> Have you considered the standard C library functions: "atoi()", "atof()", "atol()", and "atoll()" ?

Hi John

My issue wasn't so much how to get a number out of the string, rather
how to get that value back into a NUMERIC object to return back to the
server.

Thanks for taking the time to reply though, it's appreciated.

Geoff


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

Предыдущее
От: Geoff Winkless
Дата:
Сообщение: Re: manipulating NUMERIC values in C extension
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Can you make a simple view non-updatable?