Re: plpgsql versus long ELSIF chains

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: plpgsql versus long ELSIF chains
Дата
Msg-id 4EA98BA2.5070209@enterprisedb.com
обсуждение исходный текст
Ответ на plpgsql versus long ELSIF chains  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 27.10.2011 19:18, Tom Lane wrote:
> So really what needs to be done here is to make ELSIF chains explicit in
> the parsetree representation, and handle them via looping not recursion
> at runtime.  This will also make it a lot easier to do the grammar via
> left-recursion.
>
> So I'm going to go off and do that, but I wonder whether anyone thinks
> this is sufficiently important to back-patch.

This doesn't look like a bug to me, just an unoptimal implementation. So 
-1 for backpatching.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: plpgsql versus long ELSIF chains
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Hot Standby startup with overflowed snapshots