aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/descriptor.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2008-01-15 10:31:47 +0000
committerMichael Meskes <meskes@postgresql.org>2008-01-15 10:31:47 +0000
commitdbdc2e52a0c3569c6237c0b675fc739968f015d9 (patch)
treebe43c0fcd3e5d6a9f5523eb20d3bed6284a505f8 /src/interfaces/ecpg/ecpglib/descriptor.c
parentabab776b3c64f7dace82e8d0f3389851b8857798 (diff)
downloadpostgresql-dbdc2e52a0c3569c6237c0b675fc739968f015d9.tar.gz
postgresql-dbdc2e52a0c3569c6237c0b675fc739968f015d9.zip
Re-enabled variables in fetch/move command.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/descriptor.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/descriptor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/descriptor.c b/src/interfaces/ecpg/ecpglib/descriptor.c
index 0e76e244b16..df9ea295344 100644
--- a/src/interfaces/ecpg/ecpglib/descriptor.c
+++ b/src/interfaces/ecpg/ecpglib/descriptor.c
@@ -1,6 +1,6 @@
/* dynamic SQL support routines
*
- * $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/descriptor.c,v 1.28 2007/11/15 21:14:45 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/descriptor.c,v 1.29 2008/01/15 10:31:47 meskes Exp $
*/
#define POSTGRES_ECPG_INTERNAL
@@ -529,7 +529,7 @@ ECPGset_desc(int lineno, const char *desc_name, int index,...)
for (;;)
{
enum ECPGdtype itemtype;
- const char *tobeinserted = NULL;
+ char *tobeinserted = NULL;
itemtype = va_arg(args, enum ECPGdtype);