diff options
Diffstat (limited to 'src/include/access/tupdesc.h')
| -rw-r--r-- | src/include/access/tupdesc.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/access/tupdesc.h b/src/include/access/tupdesc.h index 727fee212a..525cd6267e 100644 --- a/src/include/access/tupdesc.h +++ b/src/include/access/tupdesc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: tupdesc.h,v 1.26 2000/01/26 05:57:51 momjian Exp $ + * $Id: tupdesc.h,v 1.27 2000/01/31 04:35:54 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -47,12 +47,11 @@ typedef struct tupleConstr */ typedef struct tupleDesc { - int natts; - /* Number of attributes in the tuple */ + int natts; /* Number of attributes in the tuple */ Form_pg_attribute *attrs; /* attrs[N] is a pointer to the description of Attribute Number N+1. */ TupleConstr *constr; -} *TupleDesc; +} *TupleDesc; extern TupleDesc CreateTemplateTupleDesc(int natts); @@ -64,6 +63,8 @@ extern TupleDesc CreateTupleDescCopyConstr(TupleDesc tupdesc); extern void FreeTupleDesc(TupleDesc tupdesc); +extern bool equalTupleDescs(TupleDesc tupdesc1, TupleDesc tupdesc2); + extern bool TupleDescInitEntry(TupleDesc desc, AttrNumber attributeNumber, char *attributeName, |
