]> granicus.if.org Git - postgresql/blob - src/include/utils/inval.h
Make DROP TABLE rollback-able: postpone physical file delete until commit.
[postgresql] / src / include / utils / inval.h
1 /*-------------------------------------------------------------------------
2  *
3  * inval.h
4  *        POSTGRES cache invalidation dispatcher definitions.
5  *
6  *
7  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: inval.h,v 1.18 2000/11/08 22:10:02 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef INVAL_H
15 #define INVAL_H
16
17 #include "access/htup.h"
18
19 extern void DiscardInvalid(void);
20
21 extern void RegisterInvalid(bool send);
22
23 extern void ImmediateLocalInvalidation(bool send);
24
25 extern void RelationInvalidateHeapTuple(Relation relation, HeapTuple tuple);
26
27 extern void RelationMark4RollbackHeapTuple(Relation relation, HeapTuple tuple);
28
29 #endif   /* INVAL_H */