Re: Changing baserel to foreignrel in postgres_fdw functions - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Changing baserel to foreignrel in postgres_fdw functions
Date
Msg-id CAGEoWWRLuhq1w+sPxSLDek3cRG4aQZ5g2NT0LRULk3O-XuoiNA@mail.gmail.com
Whole thread Raw
In response to Re: Changing baserel to foreignrel in postgres_fdw functions  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers


On Wed, Nov 22, 2023 at 3:27 AM Bruce Momjian <bruce@momjian.us> wrote:

Should this patch be applied?

I think so. 
 
---------------------------------------------------------------------------

On Thu, Feb 15, 2018 at 06:57:50PM +0530, Ashutosh Bapat wrote:
> Hi,
> I noticed that functions is_foreign_expr(), classifyConditions() and
> appendOrderByClause() had variables/arguments named baserel when the
> relations passed to those could be join or upper relation as well.
> Here's patch renaming those as foreignrel.
 
The patch is more than 5 years old. So it might need adjustments. E.g. the appendOrderByClause() does not require the change anymore. But the other two functions still require the changes. There may be other new places that require change. I have not checked that. If we are accepting this change, I can update the patch.
 
--
Best Wishes,
Ashutosh

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: undetected deadlock in ALTER SUBSCRIPTION ... REFRESH PUBLICATION
Next
From: Bowen Shi
Date:
Subject: [PATCH] Add CHECK_FOR_INTERRUPTS in scram_SaltedPassword loop.