a) psql dumps core when using -a password and PGUSER is set but PGPASSWORD
not set.
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.56 1998/01/14 15:48:51 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.57 1998/01/17 23:17:46 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
conn->pgpass = strdup(tmp);
}
else
- conn->pgpass = 0;
+ conn->pgpass = DefaultPassword;
if (!error)
{