diff options
Diffstat (limited to 'src/interfaces/ecpg/lib/extern.h')
-rw-r--r-- | src/interfaces/ecpg/lib/extern.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/lib/extern.h b/src/interfaces/ecpg/lib/extern.h index db2f3a7d419..780fc933bb8 100644 --- a/src/interfaces/ecpg/lib/extern.h +++ b/src/interfaces/ecpg/lib/extern.h @@ -21,6 +21,17 @@ struct ECPGgeneric_varchar char arr[1]; }; +/* + * type information cache + */ + +struct ECPGtype_information_cache +{ + struct ECPGtype_information_cache *next; + int oid; + bool isarray; +}; + /* structure to store one statement */ struct statement { @@ -36,7 +47,8 @@ struct connection { char *name; PGconn *connection; - bool committed; - int autocommit; + bool committed; + int autocommit; + struct ECPGtype_information_cache *cache_head; struct connection *next; }; |