Re: Arrays and FFTW

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Arrays and FFTW
Дата
Msg-id 3D3900CD.5030609@joeconway.com
обсуждение исходный текст
Ответ на Arrays and FFTW  (Alessandro Baretta <alex@baretta.com>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCH] Win32 native fixes after SSL updates (+more)
Следующее
От: Alessandro Baretta
Дата:
Сообщение: Re: Arrays and FFTW