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" <[EMAIL PROTECTED]>
To: "Peter Eisentraut" <[EMAIL PROTECTED]>
Cc: "PostgreSQL Development" <[EMAIL PROTECTED]>
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
>


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to