Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

pgenv.cc

  • Bruce Momjian's avatar
    86dacdb7
    libpq++ uses fe_setauthsvc which is deprecated and results in an error · 86dacdb7
    Bruce Momjian authored
    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
    86dacdb7
    History
    libpq++ uses fe_setauthsvc which is deprecated and results in an error
    Bruce Momjian authored
    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