diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-07-14 21:08:08 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-07-14 21:08:08 +0000 |
| commit | df3f5dfd194a837dc430c3a70bfc527b979935b3 (patch) | |
| tree | 917385ee637a5e1f0d38b313170ad5a5dacbf97d /src/include/catalog/heap.h | |
| parent | 942a2e94fab16e11254d69c1425622fb91fb3628 (diff) | |
| download | postgresql-df3f5dfd194a837dc430c3a70bfc527b979935b3.tar.gz | |
In DeleteAttributeTuples, use a single indexscan instead of the multiple
scans that will most likely be caused by SearchSysCache probes. Also,
share some code between index deletion and table deletion.
Diffstat (limited to 'src/include/catalog/heap.h')
| -rw-r--r-- | src/include/catalog/heap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h index 5cf87e2631..44c8e13bf6 100644 --- a/src/include/catalog/heap.h +++ b/src/include/catalog/heap.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: heap.h,v 1.52 2002/07/12 18:43:19 tgl Exp $ + * $Id: heap.h,v 1.53 2002/07/14 21:08:08 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -61,6 +61,9 @@ extern Node *cookDefault(ParseState *pstate, extern int RemoveRelConstraints(Relation rel, const char *constrName, DropBehavior behavior); +extern void DeleteRelationTuple(Oid relid); +extern void DeleteAttributeTuples(Oid relid); + extern Form_pg_attribute SystemAttributeDefinition(AttrNumber attno, bool relhasoids); |
