summaryrefslogtreecommitdiff
path: root/pgsql.h
diff options
context:
space:
mode:
Diffstat (limited to 'pgsql.h')
-rw-r--r--pgsql.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgsql.h b/pgsql.h
index 04e9376..c2ad54a 100644
--- a/pgsql.h
+++ b/pgsql.h
@@ -34,6 +34,7 @@ typedef struct PgMeta {
struct timespec ctime; /* last status change time */
struct timespec mtime; /* last modification time */
struct timespec atime; /* last access time */
+ int ref_count; /* how many open file handles exist for this file */
} PgMeta;
int psql_get_meta( PGconn *conn, const char *path, PgMeta *meta );