| From: | "Rod Taylor" <rbt(at)barchord(dot)com> |
|---|---|
| To: | "Bill Studenmund" <wrstuden(at)netbsd(dot)org>, "Peter Eisentraut" <peter_e(at)gmx(dot)net> |
| Cc: | "PostgreSQL Development" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Package support for Postgres |
| Date: | 2001-10-21 01:28:25 |
| Message-ID: | 02a601c159cf$adfdd380$8001a8c0@jester |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)netbsd(dot)org>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: "PostgreSQL Development" <pgsql-hackers(at)postgresql(dot)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
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joel Burton | 2001-10-21 03:31:10 | Re: CREATE RULE ON UPDATE/DELETE |
| Previous Message | Aasmund Midttun Godal | 2001-10-20 23:57:12 | CREATE RULE ON UPDATE/DELETE |