Re: [PATCH] contrib/seg: Fix PG_GETARG_SEG_P definition

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [PATCH] contrib/seg: Fix PG_GETARG_SEG_P definition
Дата
Msg-id 20191104180144.k6sn3rpjuzi4yfxi@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [PATCH] contrib/seg: Fix PG_GETARG_SEG_P definition  (ilmari@ilmari.org (Dagfinn Ilmari Mannsåker))
Список pgsql-hackers
Hi,

On 2019-11-04 11:30:23 +0000, Dagfinn Ilmari Mannsåker wrote:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
> 
> > ilmari@ilmari.org (Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=) writes:
> >> I just noticed that when contrib/seg was converted to V1 calling
> >> convention (commit 389bb2818f4), the PG_GETARG_SEG_P() macro got defined
> >> in terms of PG_GETARG_POINTER().  But it itself calls DatumGetPointer(),
> >> so shouldn't it be using PG_GETARG_DATUM()?
> >
> > Yup, I agree.  Pushed.
> 
> Thanks!

Thanks both of you.

- Andres



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] Include triggers in EXPLAIN
Следующее
От: Andres Freund
Дата:
Сообщение: Re: 64 bit transaction id