1. 03 Jan, 2001 1 commit
    • Bruce Momjian's avatar
      Update TODO list. · b1cc6464
      Bruce Momjian authored
      Index: TODO
      ===================================================================
      RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
      retrieving revision 1.310
      diff -r1.310 TODO
      3c3
      < Last updated:		Wed Dec 27 00:44:44 EST 2000
      ---
      > Last updated:		Tue Jan  2 21:23:11 EST 2001
      310a311
      > * Allow libedit to be used in place of libreadline
      b1cc6464
  2. 02 Jan, 2001 5 commits
  3. 01 Jan, 2001 5 commits
  4. 31 Dec, 2000 8 commits
  5. 30 Dec, 2000 15 commits
  6. 29 Dec, 2000 5 commits
  7. 28 Dec, 2000 1 commit
    • Bruce Momjian's avatar
      Attached are patches for two fixes to reduce memory usage by the JDBC · 49740c5f
      Bruce Momjian authored
      drivers.
      
      The first fix fixes the PreparedStatement object to not allocate
      unnecessary objects when converting native types to Stings.  The old
      code used the following format:
              (new Integer(x)).toString()
      whereas this can more efficiently be occompilshed by:
              Integer.toString(x);
      avoiding the unnecessary object creation.
      
      The second fix is to release some resources on the close() of a
      ResultSet.  Currently the close() method on ResultSet is a noop.  The
      purpose of the close() method is to release resources when the ResultSet
      is no longer needed.  The fix is to free the tuples cached by the
      ResultSet when it is closed (by clearing out the Vector object that
      stores the tuples).  This is important for my application, as I have a
      cache of Statement objects that I reuse.  Since the Statement object
      maintains a reference to the ResultSet and the ResultSet kept references
      to the old tuples, my cache was holding on to a lot of memory.
      
      Barry Lind
      49740c5f