diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-08-05 04:47:54 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-08-05 04:47:54 +0000 |
commit | 186aeb1d671d68bb0c5f8e6d31b091add3a80f81 (patch) | |
tree | 9736c28e102d701e624cf45337fef6fe095f161d /src/interfaces/ecpg/include/ecpglib.h | |
parent | 1c9a1250964528274dd785da83cfc16f29cd1bec (diff) | |
download | postgresql-186aeb1d671d68bb0c5f8e6d31b091add3a80f81.tar.gz postgresql-186aeb1d671d68bb0c5f8e6d31b091add3a80f81.zip |
From: Dr. Michael Meskes <meskes@online-club.de>
So this should finally get cursors working. There was an ugly bug in it.
Diffstat (limited to 'src/interfaces/ecpg/include/ecpglib.h')
-rw-r--r-- | src/interfaces/ecpg/include/ecpglib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h index c0603b2e7f5..a81ca7e8b9c 100644 --- a/src/interfaces/ecpg/include/ecpglib.h +++ b/src/interfaces/ecpg/include/ecpglib.h @@ -13,6 +13,9 @@ bool ECPGdisconnect(int, const char *); void ECPGlog(const char *format,...); +bool ECPGdeclare(int, const char *, char *); +bool ECPGopen(int, const char *); + #ifdef LIBPQ_FE_H bool ECPGsetdb(PGconn *); @@ -32,6 +35,11 @@ struct ECPGgeneric_varchar /* print an error message */ void sqlprint(void); +struct cursor { const char *name; + char *command; + struct cursor *next; + }; + /* define this for simplicity as well as compatibility */ #define SQLCODE sqlca.sqlcode |