Re: currtid_byreloid and currtid_byrelname

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: currtid_byreloid and currtid_byrelname
Дата
Msg-id 87ir9oq0mo.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на currtid_byreloid and currtid_byrelname  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-hackers
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:

> In utils/adt/tid.c, there's two mysterious functions with no comments, and
> no-one calling them inside backend code AFAICT: currtid_byreloid and
> currtid_byrelname. What do they do/did?

The comments for heap_get_latest_tid() seem to apply. They're basically
wrappers that open the relation for you since that function requires it. The
real question is why you would ever have a tid without having a Relation
structure handy.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: currtid_byreloid and currtid_byrelname
Следующее
От: Tom Lane
Дата:
Сообщение: Re: currtid_byreloid and currtid_byrelname