diff -r 570026d3a685 -r 47bc686fafe4 src/server/plugins/postgresql/vfs.h --- a/src/server/plugins/postgresql/vfs.h Sun May 15 08:56:00 2022 +0200 +++ b/src/server/plugins/postgresql/vfs.h Sun Aug 07 13:46:43 2022 +0200 @@ -44,6 +44,7 @@ typedef struct PgVFS { ResourceData *pg_resource; PGconn *connection; + int64_t root_resource_id; } PgVFS; typedef struct PgFile { @@ -64,7 +65,9 @@ int nrows; } PgDir; -VFS* pg_vfs_create(Session *sn, Request *rq, pblock *pb); +void* pg_vfs_init(ServerConfiguration *cfg, pool_handle_t *pool, WSConfigNode *config); + +VFS* pg_vfs_create(Session *sn, Request *rq, pblock *pb, void *initData); VFS* pg_vfs_create_from_resourcedata(Session *sn, Request *rq, ResourceData *resdata);