Re: C Function Question - Mailing list pgsql-novice

From Tom Lane
Subject Re: C Function Question
Date
Msg-id 7312.1013445606@sss.pgh.pa.us
Whole thread Raw
In response to C Function Question  (Bill Triplett <btt@nethouse.com>)
Responses Re: C Function Question  (btt@nethouse.com)
List pgsql-novice
Bill Triplett <btt@nethouse.com> writes:
> The prob. is I can't seem to find a straightforward way to get from
> the array of floats to the postgres select form.

Take a look at the "FLOAT AGGREGATE OPERATORS" in
src/backend/utils/adt/float.c.  These show relatively simple code for
assembling and disassembling fixed-size float arrays.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Triggers
Next
From: "Josh Berkus"
Date:
Subject: Re: how to INSERT foreign keys?