diff options
Diffstat (limited to 'src/include/utils')
-rw-r--r-- | src/include/utils/lsyscache.h | 5 | ||||
-rw-r--r-- | src/include/utils/syscache.h | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index dcc310aab5e..ab06031b2c6 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: lsyscache.h,v 1.55 2002/07/12 18:43:19 tgl Exp $ + * $Id: lsyscache.h,v 1.56 2002/08/02 18:15:09 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,9 +18,8 @@ extern bool op_in_opclass(Oid opno, Oid opclass); extern bool op_requires_recheck(Oid opno, Oid opclass); extern char *get_attname(Oid relid, AttrNumber attnum); -extern AttrNumber get_attnum(Oid relid, char *attname); +extern AttrNumber get_attnum(Oid relid, const char *attname); extern Oid get_atttype(Oid relid, AttrNumber attnum); -extern bool get_attisset(Oid relid, char *attname); extern int32 get_atttypmod(Oid relid, AttrNumber attnum); extern void get_atttypetypmod(Oid relid, AttrNumber attnum, Oid *typid, int32 *typmod); diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h index e8c70fa00be..b9a17c7453e 100644 --- a/src/include/utils/syscache.h +++ b/src/include/utils/syscache.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: syscache.h,v 1.51 2002/07/25 10:07:13 ishii Exp $ + * $Id: syscache.h,v 1.52 2002/08/02 18:15:09 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -78,6 +78,10 @@ extern bool SearchSysCacheExists(int cacheId, extern Oid GetSysCacheOid(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); +extern HeapTuple SearchSysCacheAttName(Oid relid, const char *attname); +extern HeapTuple SearchSysCacheCopyAttName(Oid relid, const char *attname); +extern bool SearchSysCacheExistsAttName(Oid relid, const char *attname); + extern Datum SysCacheGetAttr(int cacheId, HeapTuple tup, AttrNumber attributeNumber, bool *isNull); |