diff options
author | Bruce Momjian | 1999-05-10 15:27:19 +0000 |
---|---|---|
committer | Bruce Momjian | 1999-05-10 15:27:19 +0000 |
commit | 86dacdb74c20d8af6ec900b7cd163df031ab90e4 (patch) | |
tree | 5b71bf3eda1c45edcdca8a1c3d5be5178f863674 /doc/src/sgml | |
parent | d6e33c8b07aeef995d7d4d200d6667383ec849ba (diff) |
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
Diffstat (limited to 'doc/src/sgml')
-rw-r--r-- | doc/src/sgml/libpq.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index cbde3387fc3..3442185fd40 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -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> |