|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.36 2006/10/04 00:30:11 momjian Exp $ */ |
|
|
|
|
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.37 2006/11/08 10:46:47 meskes Exp $ */ |
|
|
|
|
|
|
|
|
|
#define POSTGRES_ECPG_INTERNAL |
|
|
|
|
#include "postgres_fe.h" |
|
|
|
@ -277,6 +277,9 @@ ECPGconnect(int lineno, int c, const char *name, const char *user, const char *p |
|
|
|
|
|
|
|
|
|
ECPGinit_sqlca(sqlca); |
|
|
|
|
|
|
|
|
|
/* clear auto_mem structure because some error handling functions might access it */ |
|
|
|
|
ECPGclear_auto_mem(); |
|
|
|
|
|
|
|
|
|
if (INFORMIX_MODE(compat)) |
|
|
|
|
{ |
|
|
|
|
char *envname; |
|
|
|
|