Changeset 904

Show
Ignore:
Timestamp:
02/15/07 23:32:17 (2 years ago)
Author:
common
Message:

nepenthes

  • sqlhandler-postgres, shame on me, kees you were right, now one should be able to set a port
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/modules/sqlhandler-postgres/sqlhandler-postgres.cpp

    r657 r904  
    146146        m_PGUser    = user; 
    147147        m_PGPass    = passwd; 
     148        m_PGOptions     = options; 
    148149 
    149150        m_Callback = cb; 
     
    761762        "' password = '" + m_PGPass +"'"; 
    762763 
     764        if (m_PGOptions.size() > 0) 
     765        ConnectString += m_PGOptions; 
     766         
     767 
    763768        if (m_PGConnection != NULL) 
    764769                PQfinish(m_PGConnection); 
  • nepenthes/trunk/modules/sqlhandler-postgres/sqlhandler-postgres.hpp

    r657 r904  
    142142                string m_PGUser; 
    143143                string m_PGPass; 
     144                string m_PGOptions; 
    144145 
    145146        };