Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d097534

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎contrib/pgbench/pgbench.c

Copy file name to clipboardExpand all lines: contrib/pgbench/pgbench.c
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.