Testing is easy: apply the patch and run the make Makefile.debian-* or .ubuntu-* installation step on a fresh machine. As a final extra verification step you can also install something like postgresql-client-14 that is certain to come from the pgdg repo. No errors = no problem.
While this will work on all versions of Debian and Ubuntu that we support there's not much of a reason to backport it.
Testing is easy: apply the patch and run the make Makefile.debian-* or .ubuntu-* installation step on a fresh machine. As a final extra verification step you can also install something like postgresql- client- 14 that is certain to come from the pgdg repo. No errors = no problem.
While this will work on all versions of Debian and Ubuntu that we support there's not much of a reason to backport it.