Re: "could not find pathkey item to sort" for TPC-DS queries 94-96

Поиск
Список
Период
Сортировка
От ilmari@ilmari.org (Dagfinn Ilmari Mannsåker)
Тема Re: "could not find pathkey item to sort" for TPC-DS queries 94-96
Дата
Msg-id 87lf9dnukn.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответ на Re: "could not find pathkey item to sort" for TPC-DS queries 94-96  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: "could not find pathkey item to sort" for TPC-DS queries 94-96
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> +    /* We ignore binary-compatible relabeling on both ends */
> +    while (expr && IsA(expr, RelabelType))
> +        expr = ((RelabelType *) expr)->arg;

There are 10 instances of this exact loop scattered around the codebase.
Is it worth it turning it into a static inline function?

- ilmari
-- 
- Twitter seems more influential [than blogs] in the 'gets reported in
  the mainstream press' sense at least.               - Matt McLeod
- That'd be because the content of a tweet is easier to condense down
  to a mainstream media article.                      - Calle Dybedahl



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Replication slot stats misgivings
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Tiny update to pg_stat_statements documentation