Re: Path to enable a module to change the stack_base_ptr

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Path to enable a module to change the stack_base_ptr
Дата
Msg-id 200510131747.j9DHlxJ16581@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Path to enable a module to change the stack_base_ptr  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Documentation typos
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: [HACKERS] Kerberos brokenness and oops question in 8.1beta2