mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 14:47:29 -04:00
Show a detailed description of the page offset number arrays that appear
in certain nbtree WAL records.
Also brings nbtree desc routines in line with the guidelines established
by recent commit 7d8219a4.
Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-By: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/flat/20230109215842.fktuhesvayno6o4g%40awork3.anarazel.de
23 lines
873 B
C
23 lines
873 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* rmgrdesc_utils.h
|
|
* Support functions for rmgrdesc routines
|
|
*
|
|
* Copyright (c) 2023, PostgreSQL Global Development Group
|
|
*
|
|
* src/include/access/rmgrdesc_utils.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef RMGRDESC_UTILS_H_
|
|
#define RMGRDESC_UTILS_H_
|
|
|
|
extern void array_desc(StringInfo buf, void *array, size_t elem_size, int count,
|
|
void (*elem_desc) (StringInfo buf, void *elem, void *data),
|
|
void *data);
|
|
extern void offset_elem_desc(StringInfo buf, void *offset, void *data);
|
|
extern void redirect_elem_desc(StringInfo buf, void *offset, void *data);
|
|
extern void relid_desc(StringInfo buf, void *relid, void *data);
|
|
extern void uint16_elem_desc(StringInfo buf, void *value, void *data);
|
|
|
|
#endif /* RMGRDESC_UTILS_H */
|