if (len != len1)
{
- pool_log("Complete Command Response: message length does not match between master(%d \"%s\",) and secondary(%d \"%s\",)",
+ pool_debug("Complete Command Response: message length does not match between master(%d \"%s\",) and secondary(%d \"%s\",)",
len, string, len1, string1);
}
}
/* we do not regard oid mismatch as fatal */
if (oid != oid1)
{
- pool_log("RowDescription: field oid deos not match between backends master(%d) and secondary(%d)",
+ pool_debug("RowDescription: field oid deos not match between backends master(%d) and secondary(%d)",
ntohl(oid), ntohl(oid1));
}
}
pool_read(SECONDARY(backend), &size1, sizeof(short));
if (size1 != size1)
{
- pool_log("RowDescription: field size deos not match between backends master(%d) and secondary(%d)",
+ pool_error("RowDescription: field size deos not match between backends master(%d) and secondary(%d)",
ntohs(size), ntohs(size1));
return POOL_FATAL;
}
pool_read(SECONDARY(backend), &mod1, sizeof(int));
if (mod != mod1)
{
- pool_log("RowDescription: modifier deos not match between backends master(%d) and secondary(%d)",
+ pool_debug("RowDescription: modifier deos not match between backends master(%d) and secondary(%d)",
ntohl(mod), ntohl(mod1));
}
}
this as a fatal error. However in the real world
we'd better to adapt this situation. Just throw a
log... */
- pool_log("AsciiRow: NULLMAP differ between master and secondary");
+ pool_debug("AsciiRow: NULLMAP differ between master and secondary");
}
}
return POOL_END;
if (size != size1)
- pool_log("AsciiRow: %d th field size does not match between master(%d) and secondary(%d)",
+ pool_debug("AsciiRow: %d th field size does not match between master(%d) and secondary(%d)",
i, ntohl(size), ntohl(size1));
size1 = ntohl(size1) - 4;
}
this as a fatal error. However in the real world
we'd better to adapt this situation. Just throw a
log... */
- pool_log("BinaryRow: NULLMAP differ between master and secondary");
+ pool_debug("BinaryRow: NULLMAP differ between master and secondary");
}
}
return POOL_END;
if (size != size1)
- pool_log("BinaryRow: %d th field size does not match between master(%d) and secondary(%d)",
+ pool_debug("BinaryRow: %d th field size does not match between master(%d) and secondary(%d)",
i, ntohl(size), ntohl(size1));
size1 = ntohl(size1) - 4;
}
if (pool_read(frontend, &fkind, 1) < 0)
{
- pool_error("ProcessFrontendResponse: failed to read kind");
+ pool_error("ProcessFrontendResponse: failed to read kind from frontend. fronend abnormally exited");
return POOL_END;
}
if (len != len1)
{
- pool_log("SimpleForwardToFrontend: length does not match between backends master(%d) secondary(%d) kind:(%c)",
+ pool_debug("SimpleForwardToFrontend: length does not match between backends master(%d) secondary(%d) kind:(%c)",
ntohl(len), ntohl(len1), kind);
}
}