1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Applied patch for VPATH builds by Alvaro Herrera <alvherre@commandprompt.com>

Merged dyntest.pgc and dyntest2.pgc.
Hopefully fixed the last Coverity reports (finally)
This commit is contained in:
Michael Meskes
2006-08-13 10:18:31 +00:00
parent b5633943cb
commit ab6aa40b64
18 changed files with 595 additions and 8009 deletions

View File

@ -1,4 +1,4 @@
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.32 2006/08/02 13:43:22 meskes Exp $ */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/connect.c,v 1.33 2006/08/13 10:18:29 meskes Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
@ -387,8 +387,9 @@ ECPGconnect(int lineno, int c, const char *name, const char *user, const char *p
ECPGraise(lineno, ECPG_CONNECT, ECPG_SQLSTATE_SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION, realname ? realname : "<DEFAULT>");
if (host)
ECPGfree(host);
if (port)
ECPGfree(port);
/* port not set yet
* if (port)
* ECPGfree(port); */
if (options)
ECPGfree(options);
if (realname)