summaryrefslogtreecommitdiff
path: root/psycopg/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/lobject.h')
-rw-r--r--psycopg/lobject.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/psycopg/lobject.h b/psycopg/lobject.h
index 76c5cfb..4b84021 100644
--- a/psycopg/lobject.h
+++ b/psycopg/lobject.h
@@ -39,8 +39,10 @@ typedef struct {
connectionObject *conn; /* connection owning the lobject */
- int closed:1; /* 1 if the lobject is closed */
-
+ int closed; /* 1 if the lobject is closed */
+ int mode; /* numeric mode, tells if lobject was opened */
+ char *smode; /* string mode if lobject was opened */
+
long int mark; /* copied from conn->mark */
Oid oid; /* the oid for this lobject */