From df9133fa63843627fb3579c89d892dc3d9ea2b95 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 18 Aug 2025 14:52:34 +0900 Subject: Move SQL-callable code related to multixacts into its own file A patch is under discussion to add more SQL capabilities related to multixacts, and this move avoids bloating the file more than necessary. This affects pg_get_multixact_members(). A side effect of this move is the requirement to add mxstatus_to_string() to multixact.h. Extracted from a larger patch by the same author, tweaked by me. Author: Naga Appani Reviewed-by: Michael Paquier Reviewed-by: Ashutosh Bapat Discussion: https://postgr.es/m/CA+QeY+AAsYK6WvBW4qYzHz4bahHycDAY_q5ECmHkEV_eB9ckzg@mail.gmail.com --- src/include/access/multixact.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/access') diff --git a/src/include/access/multixact.h b/src/include/access/multixact.h index b876e98f46e..6607b645a18 100644 --- a/src/include/access/multixact.h +++ b/src/include/access/multixact.h @@ -158,5 +158,6 @@ extern void multixact_desc(StringInfo buf, XLogReaderState *record); extern const char *multixact_identify(uint8 info); extern char *mxid_to_string(MultiXactId multi, int nmembers, MultiXactMember *members); +extern char *mxstatus_to_string(MultiXactStatus status); #endif /* MULTIXACT_H */ -- cgit v1.2.3