Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PGPRO-11098 add null-pointer check to ptrack_set_init_lsn() function
When ptrack extension is added to shared_preload_libraries, but ptrack.map size is 0, we may encounter segmantation fault when calling ptrack_backup_checkpoint_request_hook() function. This commit adds additional null-pointer checks to ptrack_set_init_lsn() function called by ptrack_backup_checkpoint_request_hook() to avoid this segfault
- Loading branch information