Re: access numeric data in module

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: access numeric data in module
Дата
Msg-id 3142462.1725891243@sss.pgh.pa.us
обсуждение исходный текст
Ответ на access numeric data in module  (Ed Behn <ed@behn.us>)
Ответы Re: access numeric data in module
Список pgsql-hackers
Ed Behn <ed@behn.us> writes:
> I want to be able to have a function received and/or return numeric data.
> However, I'm having trouble getting data from Datums and building Datums to
> return. numeric.h does not contain the macros to do this. They are in
> numeric.c.

> Is there a way to access the values in the numeric structures? If not,
> would a PR to move macros to numeric.h be welcome in the next commitfest?

It's intentional that that stuff is not exposed, so no.

What actual functionality do you need that numeric.h doesn't expose?

            regards, tom lane



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