[pg_rewind] use the passing callback instead of global function
Junwang Zhao <zhjwpku@gmail.com>
From: Junwang Zhao <zhjwpku@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-04-26T01:51:13Z
Lists: pgsql-hackers
Attachments
- 0001-pg_rewind-use-the-passing-callback-instead-of-global.patch (application/octet-stream) patch v1-0001
`local_traverse_files` and `libpq_traverse_files` both have a callback parameter but instead use the global process_source_file which is no good for function encapsulation. -- Regards Junwang Zhao
Commits
-
Fix overridden callbacks in pg_rewind.
- 08237056f84e 16.0 landed