1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-22 17:42:17 +03:00

Add rmgrdesc README

In the README, briefly explain what rmgrdesc functions are, and why
they are in a separate directory. Commit c03c2eae0a added some
guidelines on the preferred output format; move that to the README
too.

Reviewed-by: Melanie Plageman, Peter Geoghegan
Discussion: https://www.postgresql.org/message-id/9159daf7-f42d-781b-458f-1b2cf32cb256%40iki.fi
This commit is contained in:
Heikki Linnakangas
2023-10-02 12:18:57 +03:00
parent be8d4cb13c
commit f0bd0b4489
3 changed files with 65 additions and 44 deletions

View File

@@ -16,6 +16,10 @@
#include "access/rmgrdesc_utils.h"
#include "storage/off.h"
/*
* Helper function to print an array, in the format described in the
* README.
*/
void
array_desc(StringInfo buf, void *array, size_t elem_size, int count,
void (*elem_desc) (StringInfo buf, void *elem, void *data),