Re: [SQL] PostgreSQL 8.1.5 Documentation - Chapter 32. Extending SQL

2006-10-20 Thread Michael Fuhr
On Thu, Oct 19, 2006 at 08:14:26PM -0700, Rares Vernica wrote: > I tried the code from "Calling Conventions Version 1 for C-Language > Functions" > > I had to add this in order to make it compile: > /* 16-byte structure, passed by reference */ > typedef struct > { >double x, y; > } Point; >

[SQL] PostgreSQL 8.1.5 Documentation - Chapter 32. Extending SQL

2006-10-20 Thread Rares Vernica
Hi, I tried the code from "Calling Conventions Version 1 for C-Language Functions" I had to add this in order to make it compile: /* 16-byte structure, passed by reference */ typedef struct { double x, y; } Point; Anyway, the "Point" is still giving me hard time: psql:foo.sql:3: ERROR: c