Re: PG_GETARG_GISTENTRY?

Поиск
Список
Период
Сортировка
От Mark Dilger
Тема Re: PG_GETARG_GISTENTRY?
Дата
Msg-id 1C843B2C-0862-4B63-8795-DA880A18B61B@gmail.com
обсуждение исходный текст
Ответ на Re: PG_GETARG_GISTENTRY?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On Apr 5, 2017, at 1:12 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Mark Dilger <hornschnorter@gmail.com> writes:
>> I have written a patch to fix these macro definitions across src/ and contrib/.
>> Find the patch, attached.  All regression tests pass on my Mac laptop.
>
> Thanks for doing the legwork on that.

You are welcome.

> This seems a bit late for v10,
> especially since it's only cosmetic

Agreed.

> , but please put it in the first
> v11 commitfest.

Done.

>
>> I don't find any inappropriate uses of _P where _PP would be called for.  I do,
>> however, notice that some datatypes' functions are written to use PG_GETARG_*_P
>> where PG_GETARG_*_PP might be more efficient.
>
> Yeah.  I think Noah did some work in that direction already, but I don't
> believe he claimed to have caught everything.  Feel free to push further.

Thanks for clarifying.




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PG_GETARG_GISTENTRY?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: PoC plpgsql - possibility to force custom or genericplan