But what if you want a C function to set a variable which can be
accessed using an SQL, perl, PLpgSQL or other function type?
Shouldn't a global variable be global between all types of functions?
--
Rod Taylor
There are always four sides to every story: your side, their side, the
truth, and what really happened.
----- Original Message -----
From: "Bill Studenmund" <wrstuden@netbsd.org>
To: "Peter Eisentraut" <peter_e@gmx.net>
Cc: "PostgreSQL Development" <pgsql-hackers@postgresql.org>
Sent: Friday, October 19, 2001 1:59 PM
Subject: Re: [HACKERS] Package support for Postgres
> On Sat, 20 Oct 2001, Peter Eisentraut wrote:
>
> > Yes, you're right. Actually, sharing data across PostgreSQL C
functions
> > is trivial because you can just use global variables in your
dlopen
> > modules.
>
> Exactly. That's why I never envisioned "C" or "internal" functions
using
> package global variables. :-)
>
> Take care,
>
> Bill
>
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>