Re: C functions and int8?
От | Forest Wilkinson |
---|---|
Тема | Re: C functions and int8? |
Дата | |
Msg-id | 67alssorhjla484lck04khhju83h6g4aji@4ax.com обсуждение исходный текст |
Ответ на | Re: C functions and int8? (Karel Zak <zakkr@zf.jcu.cz>) |
Ответы |
Re: C functions and int8?
|
Список | pgsql-sql |
That's an int8 meaning "eight bit integer". I want to work with an int8 meaning "64 bit integer", as described in the docs: http://www.postgresql.org/users-lounge/docs/7.0/user/datatype.htm#AEN942 So how do I return one of these suckers from a C function? Forest On Thu, 21 Sep 2000 10:32:50 +0200 (CEST), Karel Zak wrote: > >On Thu, 21 Sep 2000, Forest Wilkinson wrote: > >> I have written a few Postgres extension functions in C, and want to modify >> some of them to return an int8. However, I don't see any int8 definition >> in postgres.h. (I have the 7.0.2 RPMs installed.) How should I >> accomplish this? > > in the source tree: src/include/c.h > > typedef signed char int8; /* == 8 bits */ > > > ... but I not sure if this file is included in the RPM package. > > > Karel
В списке pgsql-sql по дате отправления: