diff options
Diffstat (limited to 'src/interfaces/ecpg/include/ecpglib.h')
-rw-r--r-- | src/interfaces/ecpg/include/ecpglib.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h index ab18b7e5f98..80e5452a131 100644 --- a/src/interfaces/ecpg/include/ecpglib.h +++ b/src/interfaces/ecpg/include/ecpglib.h @@ -1,7 +1,7 @@ /* * this is a small part of c.h since we don't want to leak all postgres * definitions into ecpg programs - * $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.70 2006/10/04 00:30:11 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.71 2007/08/14 10:01:52 meskes Exp $ */ #ifndef _ECPGLIB_H @@ -44,14 +44,14 @@ bool ECPGstatus(int, const char *); bool ECPGsetcommit(int, const char *, const char *); bool ECPGsetconn(int, const char *); bool ECPGconnect(int, int, const char *, const char *, const char *, const char *, int); -bool ECPGdo(int, int, int, const char *, const char *,...); +bool ECPGdo(const int, const int, const int, const char *, const char, const enum ECPG_statement_type, const char *,...); bool ECPGtrans(int, const char *, const char *); bool ECPGdisconnect(int, const char *); -bool ECPGprepare(int, const char *, const char *); +bool ECPGprepare(int, const char *, const int, const char *, const char *); +bool ECPGauto_prepare(int, const char *, const int, char **, const char *); bool ECPGdeallocate(int, int, const char *); -bool ECPGdeallocate_one(int, const char *); -bool ECPGdeallocate_all(int); -char *ECPGprepared_statement(const char *); +bool ECPGdeallocate_all(int, int); +char *ECPGprepared_statement(const char *, int); void ECPGlog(const char *format,...); char *ECPGerrmsg(void); @@ -69,8 +69,6 @@ bool ECPGdo_descriptor(int line, const char *connection, const char *descriptor, const char *query); bool ECPGdeallocate_desc(int line, const char *name); bool ECPGallocate_desc(int line, const char *name); -void ECPGraise(int line, int code, const char *sqlstate, const char *str); -void ECPGraise_backend(int line, PGresult *result, PGconn *conn, int compat); bool ECPGget_desc_header(int, const char *, int *); bool ECPGget_desc(int, const char *, int,...); bool ECPGset_desc_header(int, const char *, int); |