diff options
| author | Tom Lane | 2007-08-22 23:03:27 +0000 |
|---|---|---|
| committer | Tom Lane | 2007-08-22 23:03:27 +0000 |
| commit | d09753421954c601c9d73b7a0f4a3e9c637c9a0b (patch) | |
| tree | 1ff6b05b61ad59fcca94fce4ca1dcb441d53451f /contrib | |
| parent | 11fee4e3b593860cfd1c5af1d8ee770dc35c6b6b (diff) | |
Fix possible core dump from pgbench -d option. Julius Stroffek
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/pgbench/pgbench.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index f682644f56c..d824c2ca728 100644 --- a/contrib/pgbench/pgbench.c +++ b/contrib/pgbench/pgbench.c @@ -1,5 +1,5 @@ /* - * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.69 2007/07/15 22:34:26 tgl Exp $ + * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.70 2007/08/22 23:03:27 tgl Exp $ * * pgbench: a simple benchmark program for PostgreSQL * written by Tatsuo Ishii @@ -87,7 +87,7 @@ int remains; /* number of remaining clients */ int is_connect; /* establish connection for each transaction */ char *pghost = ""; -char *pgport = NULL; +char *pgport = ""; char *pgoptions = NULL; char *pgtty = NULL; char *login = NULL; |
