Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d86a2b7 commit 0fe2160Copy full SHA for 0fe2160
src/bin/pg_rewind/libpq_fetch.c
@@ -270,8 +270,8 @@ receiveFileChunks(const char *sql)
270
if (PQnfields(res) != 3 || PQntuples(res) != 1)
271
pg_fatal("unexpected result set size while fetching remote files\n");
272
273
- if (PQftype(res, 0) != TEXTOID &&
274
- PQftype(res, 1) != INT4OID &&
+ if (PQftype(res, 0) != TEXTOID ||
+ PQftype(res, 1) != INT4OID ||
275
PQftype(res, 2) != BYTEAOID)
276
{
277
pg_fatal("unexpected data types in result set while fetching remote files: %u %u %u\n",
0 commit comments