Re: pg_get_multixact_members not documented
Sami Imseih <samimseih@gmail.com>
From: Sami Imseih <samimseih@gmail.com>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-06-02T17:46:51Z
Lists: pgsql-hackers
Attachments
- v1-0001-Document-pg_get_multixact_members.patch (application/octet-stream) patch v1-0001
> > Want to put together a patch? > > Yes, will do v1-0001 is the documentation only patch. I improved upon the description suggested in [0] > > For extra credit, maybe we could add a test or two, too... I can add tests, even though we don't really have system function specific testing. A simple test will be a regress/sql which ensure the XID and lock mode of a transaction using a savepoint, something like the below. To do anything fancier with concurrency, we will need an isolation test. ``` drop table if exists t; create table t (v int); insert into t values (1); begin; select from t for update ; savepoint s1; update t set v = v; select pg_get_multixact_members(a.relminmxid), a.relminmxid from (select relminmxid from pg_class where relname = 't') a; commit; ``` Thoughts? -- Sami Imseih Amazon Web Services (AWS) [0] https://www.postgresql.org/message-id/20150619215231.GT133018@postgresql.org
Commits
-
Document pg_get_multixact_members().
- f5551538bce0 17.6 landed
- e6115394d40c 19 (unreleased) landed
- e35a0174a9d2 14.19 landed
- d271b04dc64e 16.10 landed
- c8b9f75111aa 18.0 landed
- a167e654d06f 15.14 landed
- 0ee7f51a8b4e 13.22 landed