Achilleus Mantzios <rnd@gatewaynet.com> writes:
> Is there a way of accessing _float8 (float8[]) values inside of
> a server-side C function??
There are some examples in the "FLOAT AGGREGATE OPERATORS" section of
src/backend/utils/adt/float.c. construct_array() and
deconstruct_array() are the most general answers, but for fixed-width
element types like float8 you can cheat quite a lot.
> /* what happened to palloc in pgsql 7.2??,
Nothing.
> * Also what happened to postgres.h??
Also nothing. Did you do "make install-all-headers"?
regards, tom lane