Back-patch non-static ExecuteSqlQueryForSingleRow().

Noah Misch <noah@leadboat.com>

Commit: 461c32b557ddbb0ed67b4b2232a191554ad40c3c
Author: Noah Misch <noah@leadboat.com>
Date: 2018-02-26T15:39:48Z
Releases: 9.4.17
Back-patch non-static ExecuteSqlQueryForSingleRow().

Back-patch a subset of commit 47e59697679a0877e0525c565b1be437487604a7
to 9.4 and 9.3.  The next commit adds calls to this function.

Security: CVE-2018-1058

Files

PathChange+/−
src/bin/pg_dump/pg_backup_db.c modified +23 −0
src/bin/pg_dump/pg_backup_db.h modified +1 −0
src/bin/pg_dump/pg_dump.c modified +0 −24