Skip to content

Commit 3eb2208

Browse files
committed
OOPS ... Perl5 interface to PQsetdbLogin was actually
calling PQsetdb ...
1 parent 4c31393 commit 3eb2208

File tree

1 file changed

+3
-2
lines changed
  • src/interfaces/perl5

1 file changed

+3
-2
lines changed

src/interfaces/perl5/Pg.xs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*-------------------------------------------------------
22
*
3-
* $Id: Pg.xs,v 1.11 1999/02/11 23:25:16 tgl Exp $
3+
* $Id: Pg.xs,v 1.12 1999/02/19 23:27:17 tgl Exp $
44
*
55
* Copyright (c) 1997, 1998 Edmund Mergl
66
*
@@ -752,7 +752,8 @@ setdbLogin(pghost, pgport, pgoptions, pgtty, dbname, login, pwd)
752752
char * login
753753
char * pwd
754754
CODE:
755-
RETVAL = PQsetdb(pghost, pgport, pgoptions, pgtty, dbname);
755+
RETVAL = PQsetdbLogin(pghost, pgport, pgoptions, pgtty, dbname,
756+
login, pwd);
756757
OUTPUT:
757758
RETVAL
758759

0 commit comments

Comments
 (0)