diff options
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/builtins.h | 10 | ||||
| -rw-r--r-- | src/include/utils/relcache.h | 8 |
2 files changed, 16 insertions, 2 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index f1c7a25f9d..da09be6524 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: builtins.h,v 1.87 1999/09/30 14:54:24 wieck Exp $ + * $Id: builtins.h,v 1.88 1999/10/03 23:55:37 tgl Exp $ * * NOTES * This should normally only be included by fmgr.h. @@ -372,6 +372,14 @@ extern Oid regproctooid(RegProcedure rp); /* define macro to replace mixed-case function call - tgl 97/04/27 */ #define RegprocToOid(rp) regproctooid(rp) +/* ruleutils.c */ +extern text *pg_get_ruledef(NameData *rname); +extern text *pg_get_viewdef(NameData *rname); +extern text *pg_get_indexdef(Oid indexrelid); +extern NameData *pg_get_userbyid(int32 uid); +extern char *deparse_expression(Node *expr, List *rangetables, + bool forceprefix); + /* selfuncs.c */ extern float64 eqsel(Oid opid, Oid relid, AttrNumber attno, Datum value, int32 flag); extern float64 neqsel(Oid opid, Oid relid, AttrNumber attno, Datum value, int32 flag); diff --git a/src/include/utils/relcache.h b/src/include/utils/relcache.h index ad96a0fa9a..95fab3b22a 100644 --- a/src/include/utils/relcache.h +++ b/src/include/utils/relcache.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: relcache.h,v 1.14 1999/09/04 18:42:11 tgl Exp $ + * $Id: relcache.h,v 1.15 1999/10/03 23:55:38 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -24,6 +24,12 @@ extern Relation RelationNameGetRelation(char *relationName); extern void RelationClose(Relation relation); extern void RelationForgetRelation(Oid rid); + +/* + * Routines for flushing/rebuilding relcache entries in various scenarios + */ +extern void RelationRebuildRelation(Relation relation); + extern void RelationIdInvalidateRelationCacheByRelationId(Oid relationId); extern void RelationIdInvalidateRelationCacheByAccessMethodId(Oid accessMethodId); |
