struct RelOptInfo member relid comments

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: struct RelOptInfo member relid comments
Date: 2024-05-24 02:57:57
Message-ID: CACJufxG7d0tBKwr-q8EktRiGPdfxDD07=d1ks8ZquieVEdGP5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi

typedef struct RelOptInfo
{
....
/*
* information about a base rel (not set for join rels!)
*/
Index relid;
...
}

imho, the above comment is not very helpful.
we should say more about what kind of information relid says about a base rel?

I don't know much about RelOptInfo, that's why I ask.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2024-05-24 03:04:43 Re: First draft of PG 17 release notes
Previous Message Peter Smith 2024-05-24 02:55:34 Re: Pgoutput not capturing the generated columns