Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7a33578

Browse files
committed
From: Phil Thompson <phil@river-bank.demon.co.uk>
I haven't had final confirmation from Peter yet, but the attached patchneeds to be applied for the Beta otherwise password and cryptauthentication just won't work.It puts back the loop in libpq and also fixes a couple of problems withmaintaining compatability with pre-6.3 drivers.
1 parent93211b9 commit7a33578

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.61 1998/01/29 03:24:30 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.62 1998/01/31 21:27:28 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -584,6 +584,7 @@ connectDB(PGconn *conn)
584584
* authentication request.
585585
*/
586586

587+
do
587588
{
588589
intberesp;
589590

@@ -644,6 +645,7 @@ connectDB(PGconn *conn)
644645
conn->errorMessage)!=STATUS_OK)
645646
gotoconnect_errReturn;
646647
}
648+
while (areq!=AUTH_REQ_OK);
647649

648650
/* free the password so it's not hanging out in memory forever */
649651
if (conn->pgpass!=NULL)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp