mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Fix possible core dump from pgbench -d option. Julius Stroffek
This commit is contained in:
parent
c40f60db3f
commit
59e4a6941f
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.58.2.1 2007/01/10 01:20:10 ishii Exp $
|
||||
* $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.58.2.2 2007/08/22 23:03:33 tgl Exp $
|
||||
*
|
||||
* pgbench: a simple benchmark program for PostgreSQL
|
||||
* written by Tatsuo Ishii
|
||||
@ -81,7 +81,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;
|
||||
|
Loading…
Reference in New Issue
Block a user