aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2000-01-27 19:01:35 +0000
committerMichael Meskes <meskes@postgresql.org>2000-01-27 19:01:35 +0000
commitb53955f38aa3832b84970c806e1afdd7d3053d9e (patch)
tree7c20f619884a37ba72608f998e02071d4e736f8a /src/interfaces/ecpg/lib
parentdd979f66be20fc54aad06da743f788fbc505bbe1 (diff)
downloadpostgresql-b53955f38aa3832b84970c806e1afdd7d3053d9e.tar.gz
postgresql-b53955f38aa3832b84970c806e1afdd7d3053d9e.zip
*** empty log message ***
Diffstat (limited to 'src/interfaces/ecpg/lib')
-rw-r--r--src/interfaces/ecpg/lib/ecpglib.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/lib/ecpglib.c b/src/interfaces/ecpg/lib/ecpglib.c
index 5190dd0635c..7e755782715 100644
--- a/src/interfaces/ecpg/lib/ecpglib.c
+++ b/src/interfaces/ecpg/lib/ecpglib.c
@@ -9,7 +9,7 @@
slightly modified)
*/
-/* Taken over as part of PostgreSQL by Michael Meskes <meskes@debian.org>
+/* Taken over as part of PostgreSQL by Michael Meskes <meskes@postgresql.org>
on Feb. 5th, 1998 */
#include <stdio.h>
@@ -724,6 +724,9 @@ ECPGexecute(struct statement * stmt)
*((void **) var->pointer) = var->value;
add_mem(var->value, stmt->lineno);
}
+
+
+ ECPGlog("ECPGexecute line %d: TYPE db: %d c: %d\n", stmt->lineno, PQftype(results, act_field), var->type);
for (act_tuple = 0; act_tuple < ntuples && status; act_tuple++)
{
@@ -764,7 +767,7 @@ ECPGexecute(struct statement * stmt)
status = false;
break;
}
-
+
switch (var->type)
{
long res;