Re: Finding relfilenode

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Finding relfilenode
Дата
Msg-id 30301.1398349632@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Finding relfilenode  (Soroosh Sardari <soroosh.sardari@gmail.com>)
Список pgsql-hackers
Soroosh Sardari <soroosh.sardari@gmail.com> writes:
> In cost functions such as cost_seqscan, a RelOptinfo indicate a base
> relation.
> But there  is no relfilenode in the RelOptinfo, So how could i find
> relfilenode or reloid of the relation?

You could get the table OID out of the associated RTE.  But I fail to
see what value the relfilenode would have at plan time.
        regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Review: ECPG FETCH readahead
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 9.4 Proposal: Initdb creates a single table