diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/utils/lsyscache.h | 9 | ||||
-rw-r--r-- | src/include/utils/syscache.h | 5 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index 39cf80d9ebf..4ca8fddda10 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -1,12 +1,11 @@ /*------------------------------------------------------------------------- * * lsyscache.h - * - * + * Convenience routines for common queries in the system catalog cache. * * Copyright (c) 1994, Regents of the University of California * - * $Id: lsyscache.h,v 1.18 1999/07/15 23:04:23 momjian Exp $ + * $Id: lsyscache.h,v 1.19 1999/08/09 03:13:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -21,6 +20,8 @@ extern AttrNumber get_attnum(Oid relid, 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 double get_attdisbursion(Oid relid, AttrNumber attnum, + double min_estimate); extern RegProcedure get_opcode(Oid opid); extern char *get_opname(Oid opid); extern bool op_mergejoinable(Oid opid, Oid ltype, Oid rtype, @@ -38,6 +39,6 @@ extern Oid get_ruleid(char *rulename); extern Oid get_eventrelid(Oid ruleid); extern int16 get_typlen(Oid typid); extern bool get_typbyval(Oid typid); -extern struct varlena *get_typdefault(Oid typid); +extern Datum get_typdefault(Oid typid); #endif /* LSYSCACHE_H */ diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h index 313f543e45e..b2850a8a6b0 100644 --- a/src/include/utils/syscache.h +++ b/src/include/utils/syscache.h @@ -3,10 +3,12 @@ * syscache.h * System catalog cache definitions. * + * See also lsyscache.h, which provides convenience routines for + * common cache-lookup operations. * * Copyright (c) 1994, Regents of the University of California * - * $Id: syscache.h,v 1.17 1999/07/20 17:14:08 momjian Exp $ + * $Id: syscache.h,v 1.18 1999/08/09 03:13:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -87,6 +89,5 @@ extern int32 SearchSysCacheStruct(int cacheId, char *returnStruct, extern void *SearchSysCacheGetAttribute(int cacheId, AttrNumber attributeNumber, Datum key1, Datum key2, Datum key3, Datum key4); -extern void *TypeDefaultRetrieve(Oid typId); #endif /* SYSCACHE_H */ |