Correct pg_recvlogical server version test.

Noah Misch <noah@leadboat.com>

Commit: bb532859f45a16ae622eeebfd6e409c4481c28fa
Author: Noah Misch <noah@leadboat.com>
Date: 2018-04-26T01:50:34Z
Releases: 9.4.18
Correct pg_recvlogical server version test.

The predecessor test boiled down to "PQserverVersion(NULL) >= 100000",
which is always false.  No release includes that, so it could not have
reintroduced CVE-2018-1058.  Back-patch to 9.4, like the addition of the
predecessor in commit 8d2814f274def85f39fbe997d454b01628cb5667.

Discussion: https://postgr.es/m/20180422215551.GB2676194@rfd.leadboat.com

Files

PathChange+/−
src/bin/pg_basebackup/streamutil.c modified +1 −1

Discussion