> Well, it is more complicated than checking just HOME because it calls > getpwuid_r() if HOME is not set: > > > https://doxygen.postgresql.org/fe-connect_8c.html#a3f49cbb20595c1765bd0db5ff434c9c3 > > Is it worth going into that detail in the docs?
Yes definitely. This not being properly documented caused me hours of work…