Re: Remaining calls of heap_close/heap_open in the tree - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Remaining calls of heap_close/heap_open in the tree
Date
Msg-id 19298.1571300139@sss.pgh.pa.us
Whole thread Raw
In response to Re: Remaining calls of heap_close/heap_open in the tree  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2019-10-17 10:47:06 +0900, Michael Paquier wrote:
>> I have just bumped into $subject, and we now use the table_*
>> equivalents in the code.  Any objections to the simple patch attached
>> to clean up that?

> They're not really "remaining", as much as having been introduced after
> the introduction of table_open()/close()...

> Wonder if it's worth removing the backward compat ones from master? I
> don't quite think so, but...

If we don't remove 'em, we'll keep getting new calls from patches that
haven't been updated.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: parallel restore sometimes fails for FKs to partitioned tables
Next
From: Dilip Kumar
Date:
Subject: Re: Questions/Observations related to Gist vacuum