Hi JeevanI had a look at the patch and this seems correct to me.
Few minor comments:+ /* Check fread() error. */+ CHECK_FREAD_ERROR(fp, pathbuf);+The comments above the macro call at both the places are not necessary asyour macro name itself is self-explanatory.----------+ /*+ * If file is truncated, then we will hit+ * end-of-file error in which case we don't+ * want to error out, instead just pad it with+ * zeros.+ */+ if (feof(fp))The if block does not do the truncation right away, so I think the commentabove can be reworded to explain why we reset cnt?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных