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-2025, 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
22extern PGDLLIMPORT bool trace_syncscan;
23#endif
24
25extern void ss_report_location(Relation rel, BlockNumber location);
26extern BlockNumber ss_get_location(Relation rel, BlockNumber relnblocks);
27extern void SyncScanShmemInit(void);
28extern Size SyncScanShmemSize(void);
29
30#endif
uint32 BlockNumber
Definition: block.h:31
#define PGDLLIMPORT
Definition: c.h:1277
size_t Size
Definition: c.h:562
void ss_report_location(Relation rel, BlockNumber location)
Definition: syncscan.c:289
void SyncScanShmemInit(void)
Definition: syncscan.c:135
BlockNumber ss_get_location(Relation rel, BlockNumber relnblocks)
Definition: syncscan.c:254
Size SyncScanShmemSize(void)
Definition: syncscan.c:126