src/server/plugins/postgresql/vfs.h

branch
webdav
changeset 283
25e5b771677d
parent 282
cfb588e27198
child 285
96e53bd94958
--- a/src/server/plugins/postgresql/vfs.h	Tue Feb 01 20:07:42 2022 +0100
+++ b/src/server/plugins/postgresql/vfs.h	Thu Feb 03 17:26:08 2022 +0100
@@ -33,6 +33,7 @@
 #include "../../public/vfs.h"
 
 #include <libpq-fe.h>
+#include <libpq/libpq-fs.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -47,6 +48,8 @@
     int64_t resource_id;
     int64_t parent_id;
     WSBool  iscollection;
+    Oid     oid;
+    int     fd;
     
     struct stat s;
 } PgFile;
@@ -73,6 +76,7 @@
         const char *path,
         int64_t *parent_id,
         int64_t *resource_id,
+        Oid *oid,
         const char **resource_name,
         WSBool *iscollection,
         struct stat *s);

mercurial