We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent71e6895 commit3e75df6Copy full SHA for 3e75df6
src/compatibility/walmethods.c
@@ -283,7 +283,7 @@ dir_close(Walfile f, WalCloseMethod method)
283
snprintf(tmppath,sizeof(tmppath),"%s/%s",
284
dir_data->basedir,filename);
285
pg_free(filename);
286
-err=$i(pioRemove,dir_data->drive,tmppath);
+err=$i(pioRemove,dir_data->drive,tmppath, .missing_ok= false);
287
}
288
289
if ($haserr(err)){
@@ -339,7 +339,8 @@ dir_get_file_size(const char *pathname)
339
340
dir_data->basedir,pathname);
341
342
-statbuf=$i(pioStat,dir_data->drive, .err=&err);
+statbuf=$i(pioStat,dir_data->drive, .path=pathname,
343
+ .follow_symlink= false, .err=&err);
344
if ($haserr(err))
345
{
346
dir_data->lasterrno=getErrno(err);