mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
libpq++ uses fe_setauthsvc which is deprecated and results in an error
on connection. This patch changes it to use PQconnectdb rather than {fe_setauthsvc,PQsetdb}. This still isn't the complete solution, as there is no provision for user,password in class PgEnv, but it does get rid of the error message. Tested with gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release) under NetBSD-1.3K/i386. Cheers, Patrick Welche
This commit is contained in:
@ -316,7 +316,7 @@ char *PQoptions(PGconn *conn)
|
||||
Returns the status of the connection.
|
||||
The status can be CONNECTION_OK or CONNECTION_BAD.
|
||||
<synopsis>
|
||||
ConnStatusType *PQstatus(PGconn *conn)
|
||||
ConnStatusType PQstatus(PGconn *conn)
|
||||
</synopsis>
|
||||
</Para>
|
||||
|
||||
|
Reference in New Issue
Block a user