src/server/plugins/postgresql/vfs.c

branch
webdav
changeset 344
70a9b945206a
parent 341
52831b82b3fd
child 345
5832e10fc59a
equal deleted inserted replaced
343:78ce9733a54f 344:70a9b945206a
431 Oid unused_oid = 0; 431 Oid unused_oid = 0;
432 432
433 int err = pg_resolve_path(pg->connection, parent_path, &parent_id, &resource_id, &unused_oid, &resname, &iscollection, NULL, &ctx->vfs_errno); 433 int err = pg_resolve_path(pg->connection, parent_path, &parent_id, &resource_id, &unused_oid, &resname, &iscollection, NULL, &ctx->vfs_errno);
434 FREE(parent_path); 434 FREE(parent_path);
435 if(err) { 435 if(err) {
436 ctx->vfs_errno = ENOENT;
436 return 1; 437 return 1;
437 } 438 }
438 439
439 // parent path exists, check if it is a collection 440 // parent path exists, check if it is a collection
440 if(!iscollection) { 441 if(!iscollection) {

mercurial