On Mon, Oct 19, 2026 at 6:11 PM shveta malik <[email protected]> wrote:
>
...
>
> Overall the patch looks good. But with so many 'relids' in play, it
> takes time to figure out what each one represents. Do you think we
> should also add below in the new comment:
>
> /*
> * relids holds every relation added to the result so far, both those the
> * user named and inheritance children added implicitly by recursion.  It
> * is used to filter out duplicates.
> *
> * relids_explicit holds only the relations the user actually named (a
> * subset of relids).  relids_recursing holds those explicitly named
> * relations whose first mention did not specify ONLY.  Together they are
> * used to detect conflicting ONLY specifications for the same table.
> */
>

Hi Shveta.

I agree, your suggested code comment looks helpful.

Added it in patch v3. PSA.

======
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment: v3-0001-Error-if-same-table-has-ONLY-mismatch.patch
Description: Binary data

Reply via email to