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:
@ -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
|
||||
|
Reference in New Issue
Block a user