aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/ecpglib.h
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2007-09-26 10:57:01 +0000
committerMichael Meskes <meskes@postgresql.org>2007-09-26 10:57:01 +0000
commitd49b20fbe68fdc66795fe9588ebd510d52a5b9eb (patch)
tree3c3b969d424551c8384711e64656c826661822f8 /src/interfaces/ecpg/include/ecpglib.h
parent689df1bc77173c3a2cc308eee624d04c777b4bcf (diff)
downloadpostgresql-d49b20fbe68fdc66795fe9588ebd510d52a5b9eb.tar.gz
postgresql-d49b20fbe68fdc66795fe9588ebd510d52a5b9eb.zip
Applied patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> to get prepare thread-safe.
Diffstat (limited to 'src/interfaces/ecpg/include/ecpglib.h')
-rw-r--r--src/interfaces/ecpg/include/ecpglib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h
index 80e5452a131..7a24618c838 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.71 2007/08/14 10:01:52 meskes Exp $
+ * $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.72 2007/09/26 10:57:00 meskes Exp $
*/
#ifndef _ECPGLIB_H
@@ -49,9 +49,9 @@ bool ECPGtrans(int, const char *, const char *);
bool ECPGdisconnect(int, 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_all(int, int);
-char *ECPGprepared_statement(const char *, int);
+bool ECPGdeallocate(int, int, const char *connection_name, const char *name);
+bool ECPGdeallocate_all(int, int, const char *connection_name);
+char *ECPGprepared_statement(const char *connection_name, const char *name, int);
void ECPGlog(const char *format,...);
char *ECPGerrmsg(void);