Re: ERROR: no relation entry for relid 3 - Mailing list pgsql-hackers

From Richard Guo
Subject Re: ERROR: no relation entry for relid 3
Date
Msg-id CAMbWs4-0ZA4YdeX4C-drPLALAeXAKwwMMJSC9vUE6aCBefXUrg@mail.gmail.com
Whole thread
In response to Re: ERROR: no relation entry for relid 3  (Ayush Tiwari <ayushtiwari.slg01@gmail.com>)
List pgsql-hackers
On Wed, Sep 16, 2026 at 7:54 PM Ayush Tiwari
<ayushtiwari.slg01@gmail.com> wrote:
> Though is the EXPLAIN test added necessary? Since the execution
> query already fails without the fix, maybe we can get rid of the EXPLAIN
> portion?

I'm inclined to keep the EXPLAIN, in order to ensure that the join
alias in the TABLESAMPLE clause can be expanded.

I've pushed this patch and back-patched it to all supported branches.

- Richard



pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: [PATCH] Add planner support function to two-argument regexp_like()
Next
From: Bertrand Drouvot
Date:
Subject: Re: Session in aborted transaction misses effective_wal_level change