PostgreSQL Source Code
git master
rmgrdesc_utils.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* rmgrdesc_utils.h
4
* Support functions for rmgrdesc routines
5
*
6
* Copyright (c) 2023-2024, PostgreSQL Global Development Group
7
*
8
* src/include/access/rmgrdesc_utils.h
9
*
10
*-------------------------------------------------------------------------
11
*/
12
#ifndef RMGRDESC_UTILS_H_
13
#define RMGRDESC_UTILS_H_
14
15
extern
void
array_desc
(
StringInfo
buf
,
void
*array,
size_t
elem_size,
int
count,
16
void
(*elem_desc) (
StringInfo
buf
,
void
*elem,
void
*
data
),
17
void
*
data
);
18
extern
void
offset_elem_desc
(
StringInfo
buf
,
void
*offset,
void
*
data
);
19
extern
void
redirect_elem_desc
(
StringInfo
buf
,
void
*offset,
void
*
data
);
20
extern
void
oid_elem_desc
(
StringInfo
buf
,
void
*relid,
void
*
data
);
21
22
#endif
/* RMGRDESC_UTILS_H_ */
data
const void * data
Definition:
pg_crc32c_sse42.c:23
buf
static char * buf
Definition:
pg_test_fsync.c:73
oid_elem_desc
void oid_elem_desc(StringInfo buf, void *relid, void *data)
Definition:
rmgrdesc_utils.c:58
redirect_elem_desc
void redirect_elem_desc(StringInfo buf, void *offset, void *data)
Definition:
rmgrdesc_utils.c:50
array_desc
void array_desc(StringInfo buf, void *array, size_t elem_size, int count, void(*elem_desc)(StringInfo buf, void *elem, void *data), void *data)
Definition:
rmgrdesc_utils.c:24
offset_elem_desc
void offset_elem_desc(StringInfo buf, void *offset, void *data)
Definition:
rmgrdesc_utils.c:44
StringInfoData
Definition:
stringinfo.h:47
src
include
access
rmgrdesc_utils.h
Generated on Tue Nov 5 2024 00:13:25 for PostgreSQL Source Code by
1.9.1