-
- Downloads
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
Showing
- doc/src/sgml/libpq.sgml 1 addition, 1 deletiondoc/src/sgml/libpq.sgml
- src/interfaces/libpq++/pgconnection.cc 11 additions, 13 deletionssrc/interfaces/libpq++/pgconnection.cc
- src/interfaces/libpq++/pgenv.cc 17 additions, 1 deletionsrc/interfaces/libpq++/pgenv.cc
- src/interfaces/libpq++/pgenv.h 2 additions, 0 deletionssrc/interfaces/libpq++/pgenv.h
Loading
Please register or sign in to comment