Re: C Function Question

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Terry Lee Tucker *EXTERN*" <terry(at)chosen-ones(dot)org>, "PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: C Function Question
Date: 2009-07-28 07:22:49
Message-ID: D960CB61B694CF459DCFB4B0128514C203937E74@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Terry Lee Tucker wrote:
> Does anyone know if a function written in C and linked into the backend in a
> shared library with a statically declared structure, maintain that data for
> the life of the backend process such that, when the function is called again,
> the structure data is intact?
>
> Thanks for any insight anyone can give...

Yes, that should work.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2009-07-28 07:28:32 Re: Postgres 8.2 database recovery Could not create relation Invalid Argument
Previous Message Sam Mason 2009-07-28 06:49:33 Re: Join tables by nearest date?