Re: Path to enable a module to change the stack_base_ptr

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Thomas Hallgren <thhal(at)mailblocks(dot)com>, "pgsql-patches(at)postgresql(dot)org" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Path to enable a module to change the stack_base_ptr
Date: 2005-10-13 17:47:59
Message-ID: 200510131747.j9DHlxJ16581@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> >> Tom Lane wrote:
> >>> I'm not really in favor of this ... I think you are trying to make the
> >>> backend do something that will never work reliably.
>
> > Do we want to make this change for 8.1?
>
> I don't want to do it at all. The justification given is to allow the
> backend to support multithreading introduced by an add-on library, which
> is a hopeless cause. Removing "static" from that variable declaration
> is surely a cheap enough change, but what about the next request, and
> the one after that?

Well, I have not seen the next request yet, but it seems harmless for a
useful extension to the database, namely PL/Java. I do believe this is
one of the reasons PL/J took a different approach, though.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-10-13 17:48:11 Re: Documentation typos
Previous Message Tom Lane 2005-10-13 17:43:08 Re: Path to enable a module to change the stack_base_ptr