Re: Package support for Postgres - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: Package support for Postgres
Date
Msg-id 02a601c159cf$adfdd380$8001a8c0@jester
Whole thread Raw
In response to Re: Package support for Postgres  (Bill Studenmund <wrstuden@netbsd.org>)
Responses Re: Package support for Postgres
List pgsql-hackers
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
>



pgsql-hackers by date:

Previous
From: Bill Studenmund
Date:
Subject: Re: namespaces
Next
From: Tom Lane
Date:
Subject: Re: Error while restoring database