Re: Use IsA() macro instead of nodeTag comparison

Поиск
Список
Период
Сортировка
От Kirill Reshke
Тема Re: Use IsA() macro instead of nodeTag comparison
Дата
Msg-id CALdSSPi5fWXfby+B+rpT--zuazGhmBd3Bg1L3VGDCpabeRYGFw@mail.gmail.com
обсуждение исходный текст
Ответ на Use IsA() macro instead of nodeTag comparison  (Shinya Kato <shinya11.kato@gmail.com>)
Ответы Re: Use IsA() macro instead of nodeTag comparison
Список pgsql-hackers
On Thu, 8 Jan 2026 at 17:31, Shinya Kato <shinya11.kato@gmail.com> wrote:
>
> Hi hackers,

Hi

> In copy.c, nodeTag was being compared directly, so I replaced it with
> the IsA() predicate macro for consistency.

Oops. Looks like oversight in 6c8f670. This is indeed case where we
should use IsA()

> I verified that there are no other direct comparisons left by running
> the following command:
> $ git grep "nodeTag(.*) =="

Yep, look like this is the only case in copy.c

> --
> Best regards,
> Shinya Kato
> NTT OSS Center



-- 
Best regards,
Kirill Reshke



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