summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2025-08-18 14:52:34 +0900
committerMichael Paquier <michael@paquier.xyz>2025-08-18 14:57:55 +0900
commitdf9133fa63843627fb3579c89d892dc3d9ea2b95 (patch)
tree812f076a1a747c8c3b72530df0aae857c85c54dd /src/include
parent4a4038068bb29eff2516296fc842b88741625afd (diff)
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 <nagnrik@gmail.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Discussion: https://postgr.es/m/CA+QeY+AAsYK6WvBW4qYzHz4bahHycDAY_q5ECmHkEV_eB9ckzg@mail.gmail.com
Diffstat (limited to 'src/include')
-rw-r--r--src/include/access/multixact.h1
1 files changed, 1 insertions, 0 deletions
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 */