1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-03 09:13:20 +03:00

Change libpgeasy to take dbname at end like all other interfaces.

This commit is contained in:
Bruce Momjian
2000-04-28 14:58:51 +00:00
parent 796695c9d1
commit 7aa443d01e
5 changed files with 9 additions and 9 deletions

View File

@@ -42,11 +42,11 @@ static int tuple;
**
*/
PGconn *
connectdb(char *dbName,
char *pghost,
connectdb(char *pghost,
char *pgport,
char *pgoptions,
char *pgtty)
char *pgtty,
char *dbName)
{
/* make a connection to the database */
conn = PQsetdb(pghost, pgport, pgoptions, pgtty, dbName);