278:38bf7b42b58c | 279:79029fe26aae |
---|---|
47 int64_t resource_id; | 47 int64_t resource_id; |
48 int64_t parent_id; | 48 int64_t parent_id; |
49 WSBool iscollection; | 49 WSBool iscollection; |
50 } PgFile; | 50 } PgFile; |
51 | 51 |
52 typedef struct PgDir { | |
53 VFSFile *file; | |
54 PGresult *result; | |
55 int row; | |
56 int nrows; | |
57 } PgDir; | |
58 | |
52 VFS* pg_vfs_create(Session *sn, Request *rq, pblock *pb); | 59 VFS* pg_vfs_create(Session *sn, Request *rq, pblock *pb); |
53 | 60 |
54 | 61 |
55 /* | 62 /* |
56 * Resolve a path into a parent_id and resource name | 63 * Resolve a path into a parent_id and resource name |