pgconnection.patch

text/plain

Filename: pgconnection.patch
Type: text/plain
Part: 2
Message: Patches to get number of tuples affected
*** pgconnection.h	Wed Jun 30 13:20:40 1999
--- pgconnection.h.bak	Wed Jun 30 13:16:44 1999
***************
*** 59,65 ****
     int ExecCommandOk(const char* query);    // send a command and check if it's OK
     int ExecTuplesOk(const char* query);     // send a command and check if tuples are returned
     PGnotify* Notifies();
!    long int TuplesAffected(); // how many rows were affected by an INSERT, UPDATE or DELETE  
  protected:
     ConnStatusType Connect(const char* conninfo);
     string IntToString(int);
--- 59,65 ----
     int ExecCommandOk(const char* query);    // send a command and check if it's OK
     int ExecTuplesOk(const char* query);     // send a command and check if tuples are returned
     PGnotify* Notifies();
!     
  protected:
     ConnStatusType Connect(const char* conninfo);
     string IntToString(int);