Back-patch non-static ExecuteSqlQueryForSingleRow().

Noah Misch <noah@leadboat.com>

Commit: de8ffd6663fbe5a263ff1abc2820f7d6a00ba9a9
Author: Noah Misch <noah@leadboat.com>
Date: 2018-02-26T15:39:48Z
Releases: 9.3.22
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