Re: [GENERAL] libpq binary format for contrib/cube type?

2009-01-28 Thread aws
OK, I found another way to send the data using the array format and "cube($1::float8[])". Thanks! Andy. On Jan 28, 2009, at 2:47 PM, Tom Lane wrote: There isn't one --- contrib/cube doesn't provide send/receive functions at all. regards, tom lane -- Sent via pgsql

Re: [GENERAL] libpq binary format for contrib/cube type?

2009-01-28 Thread Tom Lane
aws writes: > I'm using libpq with a prepared query, and I'd like to access the > contrib/cube type using the binary format. The documentation > describes the text format for cubes but doesn't say what the binary > format is. There isn't one --- contrib/cube doesn't provide send/receive fu

[GENERAL] libpq binary format for contrib/cube type?

2009-01-28 Thread aws
I'm using libpq with a prepared query, and I'd like to access the contrib/cube type using the binary format. The documentation describes the text format for cubes but doesn't say what the binary format is. I glanced at the source code but... its complicated. :) Any help is appreciated.