Re: Improper use about DatumGetInt32

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Improper use about DatumGetInt32
Дата
Msg-id 991317.1600712546@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Improper use about DatumGetInt32  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Typically, the DatumGetBlah() function that you pick should match the
> SQL data type that the function is returning. So if the function
> returns pg_catalog.int4, which corresponds to the C data type int32,
> you would use DatumGetInt32. There is no SQL type corresponding to the
> C data type uint32, so I'm not sure why we even have DatumGetUInt32.

xid?

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: recovering from "found xmin ... from before relfrozenxid ..."
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgindent vs dtrace on macos