Re: Assign TupleTableSlot->tts_tableOid duplicated in tale AM.

2022-09-29 Thread Wenchao Zhang
Firstly, thank you for your reply. Yeah, I think maybe just assigning tts_tableOid of TTS only once during scanning the same table may be better. That really needs to be thinked over. Regards, Wenchao Peter Geoghegan 于2022年9月28日周三 10:47写道: > On Tue, Sep 20, 2022 at 11:51 PM Wenchao Zh

Assign TupleTableSlot->tts_tableOid duplicated in tale AM.

2022-09-20 Thread Wenchao Zhang
Hi hackers, Recently, we discover that the field of tts_tableOid of TupleTableSlot is assigned duplicated in table AM's interface which is not necessary. For example, in table_scan_getnextslot, ``` static inline bool table_scan_getnextslot(TableScanDesc sscan, ScanDirection direction, TupleTableS