pgadmin3 is unsupported upstream and doesn't officially support postgresql above 9.5, but pgadmin4 is a whole different monster, so keep this one on life support. Tested against 10.5. (note that there's a 1.22.2 release upstream) Patch taken from https://bugs.debian.org/878295 ok sthen@ pea@ (MAINTAINER), also tested by Stefan Wollny