Re: extending by using procedurallanguage C : problems - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: extending by using procedurallanguage C : problems
Date
Msg-id Pine.LNX.4.44.0212180027030.1005-100000@localhost.localdomain
Whole thread Raw
In response to Re: extending by using procedurallanguage C : problems  (Feite Brekeveld <f.brekeveld@osiris-it.nl>)
List pgsql-general
Feite Brekeveld writes:

> An example from an earlier version of postgres works fine:
> --------------------------------------------------------------
> #include "/usr/include/pgsql/server/postgres.h"
>
> double *ctof(double *deg)
> {

You probably inferred from that that you can also use int*.  You can't.
int32's happen to be passed by value.  But don't use the old interface.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: Problem with VACUUM after very large delete?
Next
From: Doug Fields
Date:
Subject: Re: Problem with VACUUM after very large delete?