diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-16 22:30:52 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-11-16 22:30:52 +0000 |
| commit | a933ee38bbb8dffbc48a3363a94ff6f2a9f7964d (patch) | |
| tree | 1c32737389b2530e7152dc2287161b36d9001e8c /src/include/nodes/makefuncs.h | |
| parent | cff23842a4c68301ddf34559c7af383bb5557054 (diff) | |
| download | postgresql-a933ee38bbb8dffbc48a3363a94ff6f2a9f7964d.tar.gz | |
Change SearchSysCache coding conventions so that a reference count is
maintained for each cache entry. A cache entry will not be freed until
the matching ReleaseSysCache call has been executed. This eliminates
worries about cache entries getting dropped while still in use. See
my posting to pg-hackers of even date for more info.
Diffstat (limited to 'src/include/nodes/makefuncs.h')
| -rw-r--r-- | src/include/nodes/makefuncs.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/nodes/makefuncs.h b/src/include/nodes/makefuncs.h index 1ec37fc7b6..08b0007fca 100644 --- a/src/include/nodes/makefuncs.h +++ b/src/include/nodes/makefuncs.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: makefuncs.h,v 1.25 2000/08/08 15:42:59 tgl Exp $ + * $Id: makefuncs.h,v 1.26 2000/11/16 22:30:45 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -42,7 +42,8 @@ extern Const *makeConst(Oid consttype, bool constisset, bool constiscast); -extern Attr * - makeAttr(char *relname, char *attname); +extern Const *makeNullConst(Oid consttype); + +extern Attr *makeAttr(char *relname, char *attname); #endif /* MAKEFUNC_H */ |
