Skip to content
Snippets Groups Projects
  1. Apr 24, 1997
  2. Apr 23, 1997
  3. Feb 14, 1997
  4. Feb 12, 1997
    • Marc G. Fournier's avatar
      Patch from Massimo Dal Zotto <dz@cs.unitn.it> · fb70587c
      Marc G. Fournier authored
      The following patches add to the backend a new debugging flag -K which prints
      a debug trace of all locking operations on user relations (those with oid
      greater than 20000). The code is compiled only if LOCK_MGR_DEBUG is defined,
      so the patch should be harmless if not explicitly enabled.
      I'm using the code to trace deadlock conditions caused by application queries
      using the command "$POSTMASTER -D $PGDATA -o '-d 1 -K 1'.
      The patches are for version 6.0 dated 970126.
      fb70587c
  5. Feb 03, 1997
  6. Jan 27, 1997
  7. Jan 26, 1997
  8. Jan 14, 1997
  9. Dec 26, 1996
  10. Dec 07, 1996
  11. Nov 27, 1996
  12. Nov 18, 1996
  13. Nov 16, 1996
  14. Nov 14, 1996
  15. Nov 11, 1996
  16. Nov 10, 1996
  17. Nov 08, 1996
  18. Nov 04, 1996
  19. Nov 03, 1996
  20. Oct 31, 1996
  21. Oct 30, 1996
  22. Oct 13, 1996
  23. Oct 04, 1996
  24. Sep 16, 1996
    • Marc G. Fournier's avatar
      There is a bug in the function executor. The backend crashes while trying to · 906651f6
      Marc G. Fournier authored
      execute an sql function containing an utility command (create, notify, ...).
      The bug is part in the planner, which returns a number of plans different
      than the number of commands if there are utility commands in the query, and
      in part in the function executor which assumes that all commands are normal
      query commands and causes a SIGSEGV trying to execute commands without plan.
      
      Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
      906651f6
  25. Sep 10, 1996
    • Marc G. Fournier's avatar
      Fixes: · 796f7899
      Marc G. Fournier authored
      The problem is that the function arguments are not considered as possible key
      candidates for index scan and so only a sequential scan is possible inside
      the body of a function.  I have therefore made some patches to the optimizer
      so that indices are now used also by functions.  I have also moved the plan
      debug message from pg_eval to pg_plan so that it is printed also for plans
      genereated for function execution.  I had also to add an index rescan to the
      executor because it ignored the parameters set in the execution state, they
      were flagged as runtime variables in ExecInitIndexScan but then never used
      by the executor so that the scan were always done with any key=1. Very odd.
      This means that an index rescan is now done twice for each function execution
      which uses an index, the first time when the index scan is initialized and
      the second when the actual function arguments are finally available for the
      execution.  I don't know what is the cost of an double index scan but I
      suppose it is anyway less than the cost of a full sequential scan, at leat
      for large tables. This is my patch, you must also add -DINDEXSCAN_PATCH in
      Makefile.global to enable the changes.
      
      Submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
      796f7899
  26. Aug 19, 1996
  27. Aug 06, 1996
    • Marc G. Fournier's avatar
      Fixes: · bb0bdfd1
      Marc G. Fournier authored
      I've enclosed two patches.  The first affects Solaris compilability.  The
      bug stems from netdb.h (where MAXHOSTNAMELEN is defined on a stock
      system).  If the user has installed the header files from BIND 4.9.x,
      there will be no definition of MAXHOSTNAMELEN.  The patch will, if all
      else fails, try to include <arpa/nameser.h> and set MAXHOSTNAMELEN to
      MAXDNAME, which is 256 (just like MAXHOSTNAMELEN on a stock system).
      
      The second patch adds aliases for "ISNULL" to "IS NULL" and likewise for
      "NOTNULL" to "IS NOT NULL".  I have not removed the postgres specific
      ISNULL and NOTNULL.  I noticed this on the TODO list, and figured it would
      be easy to remove.
      
      The full semantics are:
              [ expression IS NULL ]
              [ expression IS NOT NULL ]
      
      --Jason
      
      
      Submitted by: Jason Wright <jason@oozoo.vnet.net>
      bb0bdfd1
  28. Jul 23, 1996
    • Marc G. Fournier's avatar
      More merges from Dr. George's tree... · 5108a5b3
      Marc G. Fournier authored
              - src/backend/tcop/*
                      - cosmetic changes to OPENLINK patches
              - src/backend/storage/*
                      - more changes, mostly cosmetic
              - src/backend/ports/*
                      - merge in patches for aix and i386_solaris
      5108a5b3
  29. Jul 19, 1996
    • Marc G. Fournier's avatar
      Fixes: · 9bffaade
      Marc G. Fournier authored
      This is a patch to prevent an endless loop occuring in the Postgres backend
      when a 'warning' error condition generates another warning error contition
      in the handler code.
      
      Submitted by: Chris Dunlop, <chris@onthe.net.au>
      9bffaade
  30. Jul 15, 1996
  31. Jul 09, 1996
Loading