aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/lib/extern.h')
-rw-r--r--src/interfaces/ecpg/lib/extern.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/lib/extern.h b/src/interfaces/ecpg/lib/extern.h
index 3186b5b1102..971924e708a 100644
--- a/src/interfaces/ecpg/lib/extern.h
+++ b/src/interfaces/ecpg/lib/extern.h
@@ -4,7 +4,7 @@
/* Here are some methods used by the lib. */
/* Returns a pointer to a string containing a simple type name. */
void free_auto_mem(void);
-bool get_data(PGresult *, int, int, int, enum ECPGttype type,
+bool get_data(const PGresult *, int, int, int, enum ECPGttype type,
enum ECPGttype, void *, void *, long, long, bool);
struct connection *get_connection(const char *);
void init_sqlca(void);
@@ -14,6 +14,7 @@ char *ecpg_strdup(const char *, int);
const char *ECPGtype_name(enum ECPGttype);
unsigned int ECPGDynamicType(Oid);
+
/* A generic varchar type. */
struct ECPGgeneric_varchar
{
@@ -63,3 +64,7 @@ struct descriptor
PGresult **
ECPGdescriptor_lvalue(int line, const char *descriptor);
+
+bool
+ECPGstore_result(const PGresult *results, int act_field,
+ const struct statement * stmt, struct variable *var);