Re: fixing typo in comment for restriction_is_or_clause

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: fixing typo in comment for restriction_is_or_clause
Дата
Msg-id 20221025073712.fjw6pcinzrz2u4um@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: fixing typo in comment for restriction_is_or_clause  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: fixing typo in comment for restriction_is_or_clause  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
On 2022-Oct-25, Richard Guo wrote:

> Agree with your point.  Do you think we can further make the one-line
> function a macro or an inline function in the .h file?

We can, but should we?

> I think this function is called quite frequently during planning, so
> maybe doing that would bring a little bit of efficiency.

You'd need to measure it and show some gains.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"Siempre hay que alimentar a los dioses, aunque la tierra esté seca" (Orual)



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Issue in GIN fast-insert: XLogBeginInsert + Read/LockBuffer ordering
Следующее
От: Richard Guo
Дата:
Сообщение: Re: fixing typo in comment for restriction_is_or_clause