PostgreSQL Source Code  git master
syncscan.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * syncscan.h
4  * POSTGRES synchronous scan support functions.
5  *
6  *
7  * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/access/syncscan.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef SYNCSCAN_H
15 #define SYNCSCAN_H
16 
17 #include "storage/block.h"
18 #include "utils/relcache.h"
19 
20 extern void ss_report_location(Relation rel, BlockNumber location);
21 extern BlockNumber ss_get_location(Relation rel, BlockNumber relnblocks);
22 extern void SyncScanShmemInit(void);
23 extern Size SyncScanShmemSize(void);
24 
25 #endif
BlockNumber ss_get_location(Relation rel, BlockNumber relnblocks)
Definition: syncscan.c:253
uint32 BlockNumber
Definition: block.h:31
void SyncScanShmemInit(void)
Definition: syncscan.c:135
void ss_report_location(Relation rel, BlockNumber location)
Definition: syncscan.c:288
Size SyncScanShmemSize(void)
Definition: syncscan.c:126
size_t Size
Definition: c.h:540