aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/inval.h
blob: fb1adbc0c974ea47fbb5ff4a2309840d20fcfce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*-------------------------------------------------------------------------
 *
 * inval.h
 *	  POSTGRES cache invalidation dispatcher definitions.
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: inval.h,v 1.15 2000/01/10 06:30:56 inoue Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef INVAL_H
#define INVAL_H

#include "access/htup.h"

extern void DiscardInvalid(void);

extern void RegisterInvalid(bool send);

extern void ImmediateLocalInvalidation(bool send);

extern void RelationInvalidateHeapTuple(Relation relation, HeapTuple tuple);

extern void RelationMark4RollbackHeapTuple(Relation relation, HeapTuple tuple);

extern void ImmediateInvalidateSharedHeapTuple(Relation relation, HeapTuple tuple);

extern void ImmediateSharedRelationCacheInvalidate(Relation relation);

#endif	 /* INVAL_H */