A couple of cleanups from Scott Harrison
authorMarc G. Fournier
Tue, 15 Apr 1997 19:08:13 +0000 (19:08 +0000)
committerMarc G. Fournier
Tue, 15 Apr 1997 19:08:13 +0000 (19:08 +0000)
src/include/port/nextstep.h
src/interfaces/libpq/fe-connect.c

index d7fbae858c69a0732368efbf951f4b2f6aff6321..ca078ab10d4ad9d2f92b1d28b4e86d0d55f6a429 100644 (file)
@@ -1,3 +1,4 @@
+# include 
 # include 
 # if defined(__STRICT_ANSI__)
 #  define isascii(c)  ((unsigned)(c)<=0177)
index 27c123e6f39dce4ef5e242a63c525f680a420b42..9d02de5b5260202084050b0f8fe169b700a1d148 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.28 1997/04/02 18:26:25 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.29 1997/04/15 19:08:13 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -313,6 +313,7 @@ PQsetdb(const char *pghost, const char* pgport, const char* pgoptions, const cha
     fprintf(stderr,
             "FATAL: PQsetdb() -- unable to allocate memory for a PGconn");
   else {
+    conn->lobjfuncs = (PGlobjfuncs *) NULL;
     conn->Pfout = NULL;
     conn->Pfin = NULL;
     conn->Pfdebug = NULL;