Re: Obsolete comments in ResultRelInfo struct - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: Obsolete comments in ResultRelInfo struct
Date
Msg-id CAEZATCU7BVjVeO7AQtijcnn0yfRttYeP-TNd6Y_L=KQfiF5jbA@mail.gmail.com
Whole thread Raw
In response to Obsolete comments in ResultRelInfo struct  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Responses Re: Obsolete comments in ResultRelInfo struct
List pgsql-hackers
On Mon, 11 Aug 2025 at 12:25, Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
>
>     /*
>      * Other information needed by child result relations
>      *
>      * RootResultRelInfo gives the target relation mentioned in the query.
>      * Used as the root for tuple routing and/or transition capture.
>      *
>      * PartitionTupleSlot is non-NULL if the relation is a partition to route
>      * tuples into and RootToChild conversion is needed.
>      */

That seems reasonable. I think it's also worth adding the "ri_" prefix
to the field names in those comments.

Regards,
Dean



pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: Generate GUC tables from .dat file
Next
From: Jingtang Zhang
Date:
Subject: Re: Possible inaccurate description of wal_compression in docs