Commit 3eb22085 authored by Tom Lane's avatar Tom Lane

OOPS ... Perl5 interface to PQsetdbLogin was actually

calling PQsetdb ...
parent 4c313931
/*------------------------------------------------------- /*-------------------------------------------------------
* *
* $Id: Pg.xs,v 1.11 1999/02/11 23:25:16 tgl Exp $ * $Id: Pg.xs,v 1.12 1999/02/19 23:27:17 tgl Exp $
* *
* Copyright (c) 1997, 1998 Edmund Mergl * Copyright (c) 1997, 1998 Edmund Mergl
* *
...@@ -752,7 +752,8 @@ setdbLogin(pghost, pgport, pgoptions, pgtty, dbname, login, pwd) ...@@ -752,7 +752,8 @@ setdbLogin(pghost, pgport, pgoptions, pgtty, dbname, login, pwd)
char * login char * login
char * pwd char * pwd
CODE: CODE:
RETVAL = PQsetdb(pghost, pgport, pgoptions, pgtty, dbname); RETVAL = PQsetdbLogin(pghost, pgport, pgoptions, pgtty, dbname,
login, pwd);
OUTPUT: OUTPUT:
RETVAL RETVAL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment