From 21e1e6643c3f79c31bd3db3f4e396e6cd646ab32 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 14 Nov 2000 21:04:32 +0000 Subject: Minor cleanup of tableOid-related coding. --- src/include/access/heapam.h | 4 ++-- src/include/access/htup.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h index d110759cb62..b325b1b2d1c 100644 --- a/src/include/access/heapam.h +++ b/src/include/access/heapam.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: heapam.h,v 1.56 2000/08/03 19:19:38 tgl Exp $ + * $Id: heapam.h,v 1.57 2000/11/14 21:04:32 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -191,7 +191,7 @@ fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc, : \ (((attnum) == TableOidAttributeNumber) ? \ ( \ - (Datum)((tup)->tableOid) \ + (Datum)((tup)->t_tableOid) \ ) \ : \ ( \ diff --git a/src/include/access/htup.h b/src/include/access/htup.h index 6b290e9753c..177176e434a 100644 --- a/src/include/access/htup.h +++ b/src/include/access/htup.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: htup.h,v 1.38 2000/11/14 20:47:34 tgl Exp $ + * $Id: htup.h,v 1.39 2000/11/14 21:04:32 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -188,7 +188,7 @@ typedef struct HeapTupleData { uint32 t_len; /* length of *t_data */ ItemPointerData t_self; /* SelfItemPointer */ - Oid tableOid; /* table the tuple came from */ + Oid t_tableOid; /* table the tuple came from */ MemoryContext t_datamcxt; /* mcxt in which allocated */ HeapTupleHeader t_data; /* -> tuple header and data */ } HeapTupleData; -- cgit v1.2.3