Enlarge find_other_exec's meager fgets buffer

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: e2f3b656038332cf2fbf3536452478d22dc76ee9
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2018-04-19T13:45:15Z
Releases: 10.4
Enlarge find_other_exec's meager fgets buffer

The buffer was 100 bytes long, which is barely sufficient when the
version string gets longer (such as by configure --with-extra-version).
Set it to MAXPGPATH.

Author: Nikhil Sontakke
Discussion: https://postgr.es/m/CAMGcDxfLfpYU_Jru++L6ARPCOyxr0W+2O3Q54TDi5XdYeU36ow@mail.gmail.com

Files

PathChange+/−
src/common/exec.c modified +1 −1

Discussion