Remove spurious semicolon from one error message, and print the
offending value of a parameter reported as invalid in another.
res = ZSTD_CCtx_setParameter(cstream, param, value);
if (ZSTD_isError(res))
- pg_fatal("could not set compression parameter: \"%s\": %s",
+ pg_fatal("could not set compression parameter \"%s\": %s",
paramname, ZSTD_getErrorName(res));
}
pg_fatal("could not initialize compression library");
}
else
- pg_fatal("unhandled mode");
+ pg_fatal("unhandled mode \"%s\"", mode);
return true;
}