1. 08 Sep, 2001 2 commits
    • Hiroshi Inoue's avatar
      Resolve compile errors on unix. · 4ad1b5b7
      Hiroshi Inoue authored
      Rename psqlodbc.def -> psqlodbc_win32.def.
      Improve internal *declare cursor* handling
      a little.
      
      Hiroshi Inoue
      4ad1b5b7
    • Tom Lane's avatar
      Clean up some confusion about where and how to set whereToSendOutput. · 02b1a7fd
      Tom Lane authored
      We will no longer try to send elog messages to the client before we have
      initialized backend libpq (oops); however, reporting bogus commandline
      switches via elog does work now (not irrelevant, because of PGOPTIONS).
      Fix problem with inappropriate sending of checkpoint-process messages
      to stderr.
      02b1a7fd
  2. 07 Sep, 2001 31 commits
  3. 06 Sep, 2001 7 commits
    • Bruce Momjian's avatar
      >Well, if it is that easy, I can do it. Patch attached and applied. · 0059c421
      Bruce Momjian authored
      >
      >> On Mon, 3 Sep 2001 22:01:17 -0500, you wrote:
      >>     public boolean isWritable(int column) throws SQLException
      >>     {
      >>         return !isReadOnly(column);
      >>     }
      
      Actually, I think this change has a consequence for this method
      in the same class:
      
          public boolean isDefinitelyWritable(int column)
              throws SQLException
          {
              return isWritable(column);
          }
      
      This is from the JDBC spec
      (http://java.sun.com/j2se/1.3/docs/api/java/sql/ResultSetMetaData.html):
      
        isReadOnly() - Indicates whether the designated column is
      definitely not writable.
      
        isWritable() - Indicates whether it is possible for a write on
      the designated column to succeed.
      
        isDefinitelyWritable() - Indicates whether a write on the
      designated column will definitely succeed.
      
      At this time we don't really implement the fine semantics of
      these methods. I would suggest the following defaults:
      
        isReadOnly()             false
        isWritable()             true
        isDefinitelyWritable()   false
      
      And that would mean that your patch is correct, but
      isDefinitelyWritable() would need to be patched accordingly:
      
          public boolean isDefinitelyWritable(int column)
              throws SQLException
          {
              return false;
          }
      
      Again, both in jdbc1 and jdbc2.
      
      Regards,
      Ren? Pijlman <rene@lab.applinet.nl>
      0059c421
    • Bruce Momjian's avatar
      Update transactions for nested idea. · 1fbb2d9c
      Bruce Momjian authored
      1fbb2d9c
    • Bruce Momjian's avatar
      Update TODO list. · 68a3d2ef
      Bruce Momjian authored
      68a3d2ef
    • Bruce Momjian's avatar
      Update TODO list. · e64ca057
      Bruce Momjian authored
      e64ca057
    • Bruce Momjian's avatar
      Update TODO list. · e2b668bb
      Bruce Momjian authored
      e2b668bb
    • Bruce Momjian's avatar
      On Mon, 3 Sep 2001 22:01:17 -0500, you wrote: · afa178e7
      Bruce Momjian authored
      >public boolean isWritable(int column) throws SQLException
      >{
      >        if (isReadOnly(column))
      >                return true;
      >        else
      >                return false;
      >}
      
      The author probably intended:
      
          public boolean isWritable(int column) throws SQLException
          {
              return !isReadOnly(column);
          }
      
      And if he would have coded it this way he wouldn't have made
      this mistake :-)
      
      >hence, isWritable() will always return false. this is something
      >of a problem :)
      
      Why exactly? In a way, true is just as incorrect as false, and
      perhaps it should throw "not implemented". But I guess that
      would be too non-backwardly-compatible.
      
      >let me know if i can provide further information.
      
      Will you submit a patch?
      
      Regards,
      Ren? Pijlman <rene@lab.applinet.nl>
      afa178e7
    • Bruce Momjian's avatar
      Update TODO list. · e4cfff65
      Bruce Momjian authored
      e4cfff65