Re: Arrays and FFTW

From: Joe Conway <mail(at)joeconway(dot)com>
To: Alessandro Baretta <alex(at)baretta(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Arrays and FFTW
Date: 2002-07-20 06:18:53
Message-ID: 3D3900CD.5030609@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alessandro Baretta wrote:
> My problem is that I need to know how the arrays are represented in
> memory, and how they are passed to my function. Also, I'll need to
> define an abstract type for the execution plan of the dft alorithm--yes,
> fftw uses execution plans just like PostgreSQL :-) --and I will need to
> store them in the database. This seems a little tricky to me. As I
> stated earlier, I have already learned SQL and PL/pgSQL functions, but I
> still have to learn how to create a C function. Anyway, I'm working on
> it, and I hope to be able to share my code with you guys, for possible
> inclusion in the distribution.

Also see contrib/array, contrib/dblink, and contrib/intarray (and
probably others under contrib) for user function examples which handle
arrays. And be sure to see:
http://www.postgresql.org/idocs/index.php?xfunc-c.html
for general information on user C language functions.

Joe

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alessandro Baretta 2002-07-20 08:30:30 Re: Arrays and FFTW
Previous Message Bruce Momjian 2002-07-20 05:43:19 Re: [HACKERS] [PATCH] Win32 native fixes after SSL updates (+more)