Re: WIP: pl/pgsql cleanup

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: WIP: pl/pgsql cleanup
Дата
Msg-id 1107824425.1286.61.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: WIP: pl/pgsql cleanup  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: WIP: pl/pgsql cleanup  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Mon, 2005-02-07 at 19:22 -0500, Tom Lane wrote:
> What might work is to run in the function context as the basic state,
> but switch to a short-term context when calling any main-backend code
> from pl_comp.c.  I'm not sure how many such calls there are, but if it's
> not more than a dozen or two then this wouldn't be horridly painful.

WRT calls to backend/parser, I can see LookupTypeName (pl_comp.c:1060),
and parseTypeString (pl_comp.c:1627). Are these the only calls you had
in mind, or am I missing some?

If that's all, then it would probably be doable to manually switch
contexts.

-Neil



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP: pl/pgsql cleanup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WIP: pl/pgsql cleanup