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 8bf58c0 commit 063ff92Copy full SHA for 063ff92
src/bin/pg_rewind/libpq_fetch.c
@@ -269,8 +269,8 @@ receiveFileChunks(const char *sql)
269
if (PQnfields(res) != 3 || PQntuples(res) != 1)
270
pg_fatal("unexpected result set size while fetching remote files\n");
271
272
- if (PQftype(res, 0) != TEXTOID &&
273
- PQftype(res, 1) != INT4OID &&
+ if (PQftype(res, 0) != TEXTOID ||
+ PQftype(res, 1) != INT4OID ||
274
PQftype(res, 2) != BYTEAOID)
275
{
276
pg_fatal("unexpected data types in result set while fetching remote files: %u %u %u\n",
0 commit comments