1. 25 Nov, 2002 2 commits
    • D'Arcy J.M. Cain's avatar
      Change the pkey method so that the caller can optionally set the dictionary · a4bc5eee
      D'Arcy J.M. Cain authored
      used for the primary key lookup.  This will prevent a database lookup
      for each connection object that gets created.  This could be a significant
      optimization on a busy system.
      
      Similarly, the get_attnames method allows for the attributes dictionary
      to be installed directly.
      a4bc5eee
    • D'Arcy J.M. Cain's avatar
      Change the debug variable to allow better control by the caller over how · f393ee06
      D'Arcy J.M. Cain authored
      debug output is managed.  The user can continue to use the current method
      of passing a formatting string to have a replacement done and output will
      be sent to the standard output exactly as it did before.  In addition they
      can set it to a file object, sys.stderr for example, and the query string
      will be printed to it.  Thay can also set it to a method (function) and the
      query string will be passed to that method giving them the maximum flexibility
      to do whatever they want with the query string.
      
      I will be working with the PyGreSQL documentation shortly and at that time
      will properly document this feature.
      f393ee06
  2. 24 Nov, 2002 3 commits
    • Tom Lane's avatar
      Restructure planning of nestloop inner indexscans so that the set of usable · 04c8785c
      Tom Lane authored
      joinclauses is determined accurately for each join.  Formerly, the code only
      considered joinclauses that used all of the rels from the outer side of the
      join; thus for example
      	FROM (a CROSS JOIN b) JOIN c ON (c.f1 = a.x AND c.f2 = b.y)
      could not exploit a two-column index on c(f1,f2), since neither of the
      qual clauses would be in the joininfo list it looked in.  The new code does
      this correctly, and also is able to eliminate redundant clauses, thus fixing
      the problem noted 24-Oct-02 by Hans-Jürgen Schönig.
      04c8785c
    • Bruce Momjian's avatar
      7.4devel now supports SQL:1999's "enhanced trigger capability" (which · 6bfc09ba
      Bruce Momjian authored
      is just FOR EACH STATEMENT triggers, AFAICS); this patch updates the
      SQL conformance docs to note that.
      
      Neil Conway
      6bfc09ba
    • Bruce Momjian's avatar
      Split: · 1676753e
      Bruce Momjian authored
      > * -Support statement-level triggers (Neil)
      > * Support triggers on columns (Neil)
      1676753e
  3. 23 Nov, 2002 14 commits
  4. 22 Nov, 2002 5 commits
  5. 21 Nov, 2002 10 commits
  6. 20 Nov, 2002 3 commits
    • Bruce Momjian's avatar
      Update ports list. · 2676e11f
      Bruce Momjian authored
      2676e11f
    • Barry Lind's avatar
      Fix a dumb cut and paste error from my last commit and update some of the · 1b80e012
      Barry Lind authored
      jdbc3 metadata responses
      
       Modified Files:
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
       	jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java
      1b80e012
    • Barry Lind's avatar
      Fixed bug reported by Marko Strukelj and Keith Wannamaker. Using executeBatch · 54bc3b6b
      Barry Lind authored
      on a preparedStatement would reset the prepared statment causing subsequent
      uses of the preparedStatement to fail (i.e. the following series of calls
      would fail: addBatch() executeBatch() addBatch() executBatch()).  This is
      a regression from 7.2 where this worked correctly.  The regression test has
      also been modified to explicitly test for this case.
      
       Modified Files:
       	jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
       	jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
       	jdbc/org/postgresql/test/jdbc2/BatchExecuteTest.java
      54bc3b6b
  7. 19 Nov, 2002 3 commits