summaryrefslogtreecommitdiff
path: root/src/interfaces/libpgeasy/libpgeasy.c
diff options
context:
space:
mode:
authorBruce Momjian2000-04-28 14:58:51 +0000
committerBruce Momjian2000-04-28 14:58:51 +0000
commit7aa443d01e3daede2e8926865eebe14fe9a61997 (patch)
treef4cb032eda6ba834864b835103ee691b13c8cb00 /src/interfaces/libpgeasy/libpgeasy.c
parent796695c9d1ef51ac0ae56f3105c0a45f9417f52b (diff)
Change libpgeasy to take dbname at end like all other interfaces.
Diffstat (limited to 'src/interfaces/libpgeasy/libpgeasy.c')
-rw-r--r--src/interfaces/libpgeasy/libpgeasy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpgeasy/libpgeasy.c b/src/interfaces/libpgeasy/libpgeasy.c
index c2efe034c4a..41d3d0429ca 100644
--- a/src/interfaces/libpgeasy/libpgeasy.c
+++ b/src/interfaces/libpgeasy/libpgeasy.c
@@ -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);