1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

From: Dr. Michael Meskes <meskes@online-club.de>

So this should finally get cursors working. There was an ugly bug in it.
This commit is contained in:
Marc G. Fournier
1998-08-05 04:47:54 +00:00
parent 1c9a125096
commit 186aeb1d67
12 changed files with 182 additions and 118 deletions

View File

@ -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