Re: RelFileNode to Relation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RelFileNode to Relation
Дата
Msg-id 9372.1382171037@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RelFileNode to Relation  (Soroosh Sardari <soroosh.sardari@gmail.com>)
Ответы Re: RelFileNode to Relation  (Soroosh Sardari <soroosh.sardari@gmail.com>)
Список pgsql-hackers
Soroosh Sardari <soroosh.sardari@gmail.com> writes:
> I need to get a Relation instance but I have only a RelFileNode!

Why do you think you need to do that?  Such a lookup is inherently the
wrong thing, because relations' relfilenode values are not fixed (unless
you have a lock on the relation, which presumably you don't).
        regards, tom lane



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

Предыдущее
От: Soroosh Sardari
Дата:
Сообщение: RelFileNode to Relation
Следующее
От: Soroosh Sardari
Дата:
Сообщение: Re: RelFileNode to Relation