From: | "Thomas Hallgren" <thhal(at)mailblocks(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: session persistent data for plperl |
Date: | 2004-02-08 19:56:24 |
Message-ID: | c0648s$2fep$1@news.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I'm not insisting anything. I merely suggest something that all pl<lang>
implementations would have a potential benefit from.
But perhaps I should insist. Both with respect to plperl, pltcl, or any
other pl<lang> where session data is possible. IMHO, session data spanning
more than one transcation is dangerous and error prone if it's not
coordinated with the transactions. Even if one can argue that, it's the
developers responsability to avoid the pitfalls, I still think its a bit
harsh to just disregard the benefits such mechanisms could gain by
transaction callback.
Regards,
- thomas
"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote in message
news:4322(dot)1076266805(at)sss(dot)pgh(dot)pa(dot)us(dot)(dot)(dot)
> "Thomas Hallgren" <thhal(at)mailblocks(dot)com> writes:
> > "Andrew Dunstan" <andrew(at)dunslane(dot)net> wrote:
> >> The attached tiny patch (not intended for application yet) provides a
> >> space for plperl functions to create and share session persistent data,
>
> > What about transactions?
>
> AFAICS, Andrew is just emulating a feature that has always existed in
> pltcl. Insisting that the plperl version must have intelligence not
> found in the pltcl version seems like raising the bar unfairly.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2004-02-08 20:14:11 | Re: [HACKERS] dollar quoting |
Previous Message | Andrew Dunstan | 2004-02-08 19:52:17 | Re: session persistent data for plperl |