Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d097534

Browse files
committed
Fix possible core dump from pgbench -d option. Julius Stroffek
1 parent 11fee4e commit d097534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pgbench/pgbench.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.69 2007/07/15 22:34:26 tgl Exp $
2+
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.70 2007/08/22 23:03:27 tgl Exp $
33
*
44
* pgbench: a simple benchmark program for PostgreSQL
55
* written by Tatsuo Ishii
@@ -87,7 +87,7 @@ int remains; /* number of remaining clients */
8787
int is_connect; /* establish connection for each transaction */
8888

8989
char *pghost = "";
90-
char *pgport = NULL;
90+
char *pgport = "";
9191
char *pgoptions = NULL;
9292
char *pgtty = NULL;
9393
char *login = NULL;

0 commit comments

Comments
 (0)