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

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Assign TupleTableSlot->tts_tableOid duplicated in tale AM.
Дата
Msg-id CAH2-WznV1iVxW7+TKNKBpqRPVy-XwKu-XmT7dZ5sO7rARFFJgg@mail.gmail.com
обсуждение исходный текст
Ответ на Assign TupleTableSlot->tts_tableOid duplicated in tale AM.  (Wenchao Zhang <zwcpostgres@gmail.com>)
Ответы Re: Assign TupleTableSlot->tts_tableOid duplicated in tale AM.
Список pgsql-hackers
On Tue, Sep 20, 2022 at 11:51 PM Wenchao Zhang <zwcpostgres@gmail.com> wrote:
> We can get the two assigned values are same by reading codes. Maybe we should remove one?
>
> What's more, we find that maybe we assign slot->tts_tableOid in outer interface like table_scan_getnextslot may be
betterand more friendly when we import other pluggable storage formats.
 

I suppose that you're right; it really should happen in exactly one
place, based on some overarching theory about how tts_tableOid works
with the table AM interface. I just don't know what that theory is.

-- 
Peter Geoghegan



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: meson vs mingw, plpython, readline and other fun
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Strip -mmacosx-version-min options from plperl build