Re: C Function Question - Mailing list pgsql-general

From Albe Laurenz
Subject Re: C Function Question
Date
Msg-id D960CB61B694CF459DCFB4B0128514C203937E74@exadv11.host.magwien.gv.at
Whole thread Raw
In response to C Function Question  (Terry Lee Tucker <terry@chosen-ones.org>)
Responses Re: C Function Question
List 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

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: Join tables by nearest date?
Next
From: Magnus Hagander
Date:
Subject: Re: Postgres 8.2 database recovery Could not create relation Invalid Argument