1. 22 Jun, 2005 5 commits
    • Tom Lane's avatar
      Add a hack requested by the JDBC driver writers: when a function's · 676bb1ab
      Tom Lane authored
      argument list contains parameter symbols ($n) declared as type VOID,
      discard these arguments.  This allows the driver to avoid renumbering
      mixed IN and OUT argument placeholders (the JDBC syntax involves writing
      ? for both IN and OUT parameters, but on the server side we don't think
      that OUT parameters are arguments).  This doesn't break any currently-
      useful cases since VOID is not used as an input argument type.
      676bb1ab
    • Neil Conway's avatar
      Fix bug in CONTINUE statement for PL/pgSQL: when we continue a loop, · 738df437
      Neil Conway authored
      we need to be careful to reset rc to PLPGSQL_RC_OK, depending on how
      the loop's logic is structured. If we continue a loop but it then
      exits without executing the loop's body again, we want to return
      PLPGSQL_RC_OK to our caller.  Enhance the regression tests to catch
      this problem. Per report from Michael Fuhr.
      738df437
    • Neil Conway's avatar
      Correct some code in pg_restore when reading the header of a tar archive: · 05db8b50
      Neil Conway authored
      (1) The code doesn't initialize `sum', so the initial "does the checksum
          match?" test is wrong.
      
      (2) The loop that is intended to check for a "null block" just checks
          the first byte of the tar block 512 times, rather than each of the
          512 bytes one time (!), which I'm guessing was the intent.
      
      It was only through sheer luck that this worked in the first place.
      
      Per Coverity static analysis performed by EnterpriseDB.
      05db8b50
    • Neil Conway's avatar
      More trivial dead code removal: in int_to_roman(), checking for "num == -1" · 06ecacde
      Neil Conway authored
      is redundant after a check has already been made for "num < 0". The "set"
      variable can also be removed, as it is now no longer used. Per checking
      with Karel, this is the right fix.
      
      Per Coverity static analysis performed by EnterpriseDB.
      06ecacde
    • Neil Conway's avatar
      Add a CONTINUE statement to PL/PgSQL, which can be used to begin the · ebcb4c93
      Neil Conway authored
      next iteration of a loop. Update documentation and add regression tests.
      Patch from Pavel Stehule, reviewed by Neil Conway.
      ebcb4c93
  2. 21 Jun, 2005 7 commits
  3. 20 Jun, 2005 13 commits
  4. 19 Jun, 2005 8 commits
  5. 18 Jun, 2005 6 commits
  6. 17 Jun, 2005 1 commit