aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/data.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2004-07-04 15:02:24 +0000
committerMichael Meskes <meskes@postgresql.org>2004-07-04 15:02:24 +0000
commit8715789928dfea256334e849799bf57064a5b227 (patch)
tree6ae76d52f93a8fc69552c93bfdb0501805979277 /src/interfaces/ecpg/ecpglib/data.c
parenta72dd7a9e4ddf8a9bc3443b4d10d6fef767ad066 (diff)
downloadpostgresql-8715789928dfea256334e849799bf57064a5b227.tar.gz
postgresql-8715789928dfea256334e849799bf57064a5b227.zip
Made sure SET DESCRIPTOR accepts all data types including constants.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/data.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/data.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/ecpglib/data.c b/src/interfaces/ecpg/ecpglib/data.c
index eb1360efc60..04e944ce892 100644
--- a/src/interfaces/ecpg/ecpglib/data.c
+++ b/src/interfaces/ecpg/ecpglib/data.c
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.25 2004/06/28 11:47:41 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/data.c,v 1.26 2004/07/04 15:02:22 meskes Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
@@ -76,10 +76,7 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno,
* and 0 if not
*/
if (PQgetisnull(results, act_tuple, act_field))
- {
- printf("MM NULL\n");
value_for_indicator = -1;
- }
switch (ind_type)
{