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-2024, 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
/* GUC variables */
21
#ifdef TRACE_SYNCSCAN
22
extern
PGDLLIMPORT
bool
trace_syncscan;
23
#endif
24
25
extern
void
ss_report_location
(
Relation
rel,
BlockNumber
location);
26
extern
BlockNumber
ss_get_location
(
Relation
rel,
BlockNumber
relnblocks);
27
extern
void
SyncScanShmemInit
(
void
);
28
extern
Size
SyncScanShmemSize
(
void
);
29
30
#endif
block.h
BlockNumber
uint32 BlockNumber
Definition:
block.h:31
PGDLLIMPORT
#define PGDLLIMPORT
Definition:
c.h:1316
Size
size_t Size
Definition:
c.h:605
relcache.h
RelationData
Definition:
rel.h:56
ss_report_location
void ss_report_location(Relation rel, BlockNumber location)
Definition:
syncscan.c:289
SyncScanShmemInit
void SyncScanShmemInit(void)
Definition:
syncscan.c:135
ss_get_location
BlockNumber ss_get_location(Relation rel, BlockNumber relnblocks)
Definition:
syncscan.c:254
SyncScanShmemSize
Size SyncScanShmemSize(void)
Definition:
syncscan.c:126
src
include
access
syncscan.h
Generated on Wed Sep 18 2024 06:13:25 for PostgreSQL Source Code by
1.9.1