Re: Fix small typo, use InvalidRelFileNumber instead of InvalidOid

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Fix small typo, use InvalidRelFileNumber instead of InvalidOid
Дата
Msg-id CAA4eK1JEotM3K9JrDwhNJmfEuOW9bpV5Eh+TTneaOQiLJYfW6w@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
On Fri, Nov 8, 2024 at 3:17 PM Dilip Kumar <dilipbalaut@gmail.com> wrote:
>
> It appears that we are passing InvalidOid instead of InvalidRelFileNumber when calling index_create(). While this
isn’ttechnically a bug, since InvalidRelFileNumber is defined as InvalidOid, it’s preferable to use the correct
identifierfor clarity and consistency. 
>

Agreed. We already use InvalidRelFileNumber at one of the other
callers in index_concurrently_create_copy(). Your patch looks good to
me.

--
With Regards,
Amit Kapila.



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