Skip to content
Snippets Groups Projects
Commit 6d7f1d33 authored by Tatsuo Ishii's avatar Tatsuo Ishii
Browse files

Fix for PQsetdb port parameter due to the interface change.

PQsetdb no more recognize "" as the default port number.
parent 3706f08a
No related branches found
No related tags found
No related merge requests found
/* /*
* $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.6 2000/09/29 13:53:29 petere Exp $ * $Header: /cvsroot/pgsql/contrib/pgbench/pgbench.c,v 1.7 2000/11/01 00:45:46 ishii Exp $
* *
* pgbench: a simple TPC-B like benchmark program for PostgreSQL * pgbench: a simple TPC-B like benchmark program for PostgreSQL
* written by Tatsuo Ishii * written by Tatsuo Ishii
...@@ -512,8 +512,8 @@ main(int argc, char **argv) ...@@ -512,8 +512,8 @@ main(int argc, char **argv)
opterr, opterr,
optopt; optopt;
int c; int c;
char *pghost = ""; char *pghost = NULL;
char *pgport = ""; char *pgport = NULL;
char *dbName; char *dbName;
int is_init_mode = 0; /* initialize mode? */ int is_init_mode = 0; /* initialize mode? */
int is_no_vacuum = 0; /* no vacuum at all before int is_no_vacuum = 0; /* no vacuum at all before
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment