Elegant method of accessing N-dimension array in C function

From: Bborie Park <bkpark(at)ucdavis(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Elegant method of accessing N-dimension array in C function
Date: 2012-07-28 00:49:04
Message-ID: 50133700.6020208@ucdavis.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I'm wondering if there is a more elegant (best practice?) approach to
accessing and processing a N-dimension array from the SQL side in a C
function. I've looked at deconstruct_array() but would like a second
opinion before I use that function.

Basically, I have a function that receives a double precision[][] that
is processed upon in my C function.

Thanks!

-bborie
--
Bborie Park
Programmer
Center for Vectorborne Diseases
UC Davis
530-752-8380
bkpark(at)ucdavis(dot)edu

Browse pgsql-general by date

  From Date Subject
Next Message Edson Richter 2012-07-28 01:42:23 Re: Trim not working (PostgreSQL 9.1.2 on Win64)
Previous Message Edson Richter 2012-07-28 00:04:20 Trim not working (PostgreSQL 9.1.2 on Win64)