X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=src%2Finclude%2Fcatalog%2Fheap.h;h=09516ed0215a8cef1587325a4099f129d5d0995b;hb=984a6ced3ece409e97b74ce163297b8193eeeb6c;hp=02845920b951137eb61dac47fb952fd89e35a88c;hpb=f26b91761bd25f9da2f97d818f60ae68588888c2;p=postgresql diff --git a/src/include/catalog/heap.h b/src/include/catalog/heap.h index 02845920b9..09516ed021 100644 --- a/src/include/catalog/heap.h +++ b/src/include/catalog/heap.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.75 2005/08/26 03:08:15 tgl Exp $ + * $PostgreSQL: pgsql/src/include/catalog/heap.h,v 1.77 2006/03/03 03:30:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -23,8 +23,7 @@ typedef struct RawColumnDefault { AttrNumber attnum; /* attribute to attach default to */ - Node *raw_default; /* default value (untransformed parse - * tree) */ + Node *raw_default; /* default value (untransformed parse tree) */ } RawColumnDefault; typedef struct CookedConstraint @@ -63,6 +62,8 @@ extern void heap_truncate(List *relids); extern void heap_truncate_check_FKs(List *relations, bool tempTables); +extern List *heap_truncate_find_FKs(List *relationIds); + extern List *AddRelationRawConstraints(Relation rel, List *rawColDefaults, List *rawConstraints);