From d09753421954c601c9d73b7a0f4a3e9c637c9a0b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 22 Aug 2007 23:03:27 +0000 Subject: [PATCH] Fix possible core dump from pgbench -d option. Julius Stroffek --- contrib/pgbench/pgbench.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index f682644f56..d824c2ca72 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; -- GitLab