Re: NetBSD/dtime_t
| От | Tom Lane |
|---|---|
| Тема | Re: NetBSD/dtime_t |
| Дата | |
| Msg-id | 17260.1203171324@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: NetBSD/dtime_t (Michael Meskes <meskes@postgresql.org>) |
| Ответы |
Re: NetBSD/dtime_t
|
| Список | pgsql-hackers |
Michael Meskes <meskes@postgresql.org> writes:
> Anyway, does anyone have a suggestion how to solve this issue? Informix
> uses the dtime_t datatype to store a timestamp. pgtypeslib also defines
> a timestamp type which is 64 bit and not 32 bit like the NetBSD one.
> Informix compatibility now typedefs dtime_t to timestamp so the
> functions with Informix syntax work as advertized.
Does it have to be a typedef, rather than a #define?
I'm thinking that you could forcibly include sys/types.h
and then it would be safe to #define dtime_t the way you want.
regards, tom lane
В списке pgsql-hackers по дате отправления: