Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a7c17d

Browse files
author
Michael Meskes
committed
Fixed bug that caused arrays of varchar to be output with incomplete name.
1 parent 9a9b0ed commit 8a7c17d

File tree

1 file changed

+2
-2
lines changed
  • src/interfaces/ecpg/preproc

1 file changed

+2
-2
lines changed

src/interfaces/ecpg/preproc/type.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.c,v 1.77 2007/12/21 14:33:20 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/type.c,v 1.77.2.1 2008/03/02 10:57:21 meskes Exp $ */
22

33
#include "postgres_fe.h"
44

@@ -259,7 +259,7 @@ ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * type,
259259

260260
ECPGdump_a_simple(o, name,
261261
type->u.element->type,
262-
type->u.element->size, type->size, NULL, prefix, type->lineno);
262+
type->u.element->size, type->size, NULL, prefix, type->u.element->lineno);
263263

264264
if (ind_type != NULL)
265265
{

0 commit comments

Comments
 (0)