On Fri, Mar 15, 2024 at 07:53:57AM +0900, Michael Paquier wrote: > It can be made optional by extending InjectionPointAttach() to > specify a database OID or a database name. Note that > 041_checkpoint_at_promote.pl wants an injection point to run in the > checkpointer, where we don't have a database requirement.
Slight correction here. It is also possible to not touch InjectionPointAttach() at all: just tweak the callbacks to do that as long as the database that should be used is tracked in shmem with its point name, say with new fields in InjectionPointSharedState. That keeps the backend APIs in a cleaner state. -- Michael
signature.asc
Description: PGP signature