[ad_1]
Sitrep:
I need to find path to pg_ctl.exe
on many Windows systems using Python (3.8) with potentially different PostgreSQL server versions installed on each system.
Ideally I’d like to find it for PostgreSQL instances installed in custom directories as well, including local installations (“for current user only”), which puts it somewhere in user’s AppData
.
Yes, I know it’s a bit of tall order, but that’s what I need to do.
[ad_2]