Enlarge find_other_exec's meager fgets buffer

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

Commit: e160fa005e809c9b5b15232d73b3109278488a05
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2018-04-19T13:45:15Z
Releases: 9.5.13
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