Re: struct RelOptInfo member relid comments

Поиск
Список
Период
Сортировка
От jian he
Тема Re: struct RelOptInfo member relid comments
Дата
Msg-id CACJufxGqM-zoMm9GBdtMJxFGKYsq275iKDR0U-WXq=rPVZMqCQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: struct RelOptInfo member relid comments  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: struct RelOptInfo member relid comments
Список pgsql-hackers
On Fri, May 24, 2024 at 11:14 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> jian he <jian.universality@gmail.com> writes:
> > imho, the above comment is not very helpful.
> > we should say more about what kind of information relid says about a base rel?
>
> "Relid" is defined at the very top of the file:
>
> /*
>  * Relids
>  *              Set of relation identifiers (indexes into the rangetable).
>  */
> typedef Bitmapset *Relids;
>
> Repeating that everyplace the term "relid" appears would not be
> tremendously helpful.
>

`Index relid;`
is a relation identifier, a base rel's rangetable index.

Does the above description make sense?


BTW, I found several occurrences of "base+OJ", but I cannot find the
explanation of "OJ" or the "OJ" Acronyms.



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: First draft of PG 17 release notes
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Cleaning up perl code