| From: | Gregory Stark <stark(at)enterprisedb(dot)com> |
|---|---|
| To: | "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> |
| Cc: | "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: currtid_byreloid and currtid_byrelname |
| Date: | 2007-06-15 23:05:51 |
| Message-ID: | 87ir9oq0mo.fsf@oxford.xeocode.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Heikki Linnakangas" <heikki(at)enterprisedb(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-06-15 23:07:59 | Re: currtid_byreloid and currtid_byrelname |
| Previous Message | Andrew Dunstan | 2007-06-15 22:57:17 | Re: currtid_byreloid and currtid_byrelname |