Re: currtid_byreloid and currtid_byrelname - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: currtid_byreloid and currtid_byrelname
Date
Msg-id 87ir9oq0mo.fsf@oxford.xeocode.com
Whole thread Raw
In response to currtid_byreloid and currtid_byrelname  (Heikki Linnakangas <heikki@enterprisedb.com>)
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: currtid_byreloid and currtid_byrelname
Next
From: Tom Lane
Date:
Subject: Re: currtid_byreloid and currtid_byrelname