From: | Terry Lee Tucker <terry(at)chosen-ones(dot)org> |
---|---|
To: | "PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
Cc: | Geoffry Myers <geof(at)serioustechnology(dot)com> |
Subject: | Re: C Function Question |
Date: | 2009-07-28 09:48:13 |
Message-ID: | 200907280548.13791.terry@chosen-ones.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tuesday 28 July 2009 03:22, Albe Laurenz wrote:
> 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
Thanks for the reply Laurenze. I put together a small test case scenario and,
indeed, it does work as I had hoped and as you indicated.
Thanks for the help...
--
From | Date | Subject | |
---|---|---|---|
Next Message | Albe Laurenz | 2009-07-28 12:12:24 | Re: count of query results in for loop |
Previous Message | Andreas Wenk | 2009-07-28 09:34:24 | Re: Video available for PGDay SJC '09 |