1. 28 Aug, 1998 2 commits
    • Bruce Momjian's avatar
      vacuum fix. · d8dbbc8c
      Bruce Momjian authored
      d8dbbc8c
    • Bruce Momjian's avatar
      Hi all, · a53ea467
      Bruce Momjian authored
          I  don't know if this is really related to the initdb problem
          discussion (haven't followed it enough). But seems so because
          it  fixes  a  damn  problem  during  index tuple insertion on
          CREATE TABLE into pg_attribute_relid_attnum_index.
      
          Anyway - this bug was really hard to find. During startup the
          relcache  reads  in  some  prepared  information  about index
          strategies from a file and then  reinitializes  the  function
          pointers  inside  the  scanKey data.  But for sake it assumed
          single attribute index tuples (hasn't that changed recently).
          Thus not all the strategies scanKey entries where initialized
          properly,  resulting  in  invalid  addresses  for  the  btree
          comparision functions.
      
          With  the  patch  at  the  end  the  regression  tests passed
          excellent except for the sanity_check that crashed at  vacuum
          and the misc test where the select unique1 from onek2 outputs
          the two rows in different order.
      
      Jan
      a53ea467
  2. 26 Aug, 1998 2 commits
  3. 24 Aug, 1998 1 commit
  4. 21 Aug, 1998 1 commit
  5. 20 Aug, 1998 3 commits
  6. 19 Aug, 1998 1 commit
    • Bruce Momjian's avatar
      heap_fetch requires buffer pointer, must be released; heap_getnext · 79715390
      Bruce Momjian authored
      no longer returns buffer pointer, can be gotten from scan;
      	descriptor; bootstrap can create multi-key indexes;
      pg_procname index now is multi-key index; oidint2, oidint4, oidname
      are gone (must be removed from regression tests); use System Cache
      rather than sequential scan in many places; heap_modifytuple no
      longer takes buffer parameter; remove unused buffer parameter in
      a few other functions; oid8 is not index-able; remove some use of
      single-character variable names; cleanup Buffer variables usage
      and scan descriptor looping; cleaned up allocation and freeing of
      tuples; 18k lines of diff;
      79715390
  7. 27 Jul, 1998 1 commit
  8. 20 Jul, 1998 1 commit
  9. 12 Jul, 1998 2 commits
  10. 15 Jun, 1998 1 commit
  11. 13 Jun, 1998 1 commit
  12. 09 May, 1998 1 commit
  13. 27 Apr, 1998 1 commit
    • Bruce Momjian's avatar
      This patch... · 09baa3cc
      Bruce Momjian authored
      1. Removes the unnecessary "#define AbcRegProcedure 123"'s from
      pg_proc.h.
      
      2. Changes those #defines to use the names already defined in
      fmgr.h.
      
      3. Forces the make of fmgr.h in backend/Makefile instead of having
      it
         made as a dependency in access/common/Makefile  *hack*hack*hack*
      
      4. Rearranged the #includes to a less helter-skelter arrangement,
      also
          changing <file.h> to "file.h" to signify a non-system header.
      
      5. Removed "pg_proc.h" from files where its only purpose was for
      the
         #defines removed in item #1.
      
      6. Added "fmgr.h" to each file changed for completeness sake.
      
      Turns out that #6 was not necessary for some files because fmgr.h
      was being included in a roundabout way SIX levels deep by the first
      include.
      
      "access/genam.h"
       ->"access/relscan.h"
         ->"utils/rel.h"
           ->"access/strat.h"
             ->"access/skey.h"
      	 ->"fmgr.h"
      
      So adding fmgr.h really didn't add anything to the compile, hopefully
      just made it clearer to the programmer.
      
      S Darren.
      09baa3cc
  14. 26 Feb, 1998 1 commit
  15. 07 Feb, 1998 2 commits
  16. 16 Jan, 1998 1 commit
  17. 15 Jan, 1998 1 commit
    • PostgreSQL Daemon's avatar
      Thank god for searchable mail archives. · baef78d9
      PostgreSQL Daemon authored
      Patch by: wieck@sapserv.debis.de (Jan Wieck)
      
         One  of  the design rules of PostgreSQL is extensibility. And
         to follow this rule means (at least for me) that there should
         not  only  be a builtin PL.  Instead I would prefer a defined
         interface for PL implemetations.
      baef78d9
  18. 13 Jan, 1998 1 commit
    • Marc G. Fournier's avatar
      Some *very* major changes by darrenk@insightdist.com (Darren King) · 374bb5d2
      Marc G. Fournier authored
      ==========================================
      What follows is a set of diffs that cleans up the usage of BLCKSZ.
      
      As a side effect, the person compiling the code can change the
      value of BLCKSZ _at_their_own_risk_.  By that, I mean that I've
      tried it here at 4096 and 16384 with no ill-effects.  A value
      of 4096 _shouldn't_ affect much as far as the kernel/file system
      goes, but making it bigger than 8192 can have severe consequences
      if you don't know what you're doing.  16394 worked for me, _BUT_
      when I went to 32768 and did an initdb, the SCSI driver broke and
      the partition that I was running under went to hell in a hand
      basket. Had to reboot and do a good bit of fsck'ing to fix things up.
      
      The patch can be safely applied though.  Just leave BLCKSZ = 8192
      and everything is as before.  It basically only cleans up all of the
      references to BLCKSZ in the code.
      
      If this patch is applied, a comment in the config.h file though above
      the BLCKSZ define with warning about monkeying around with it would
      be a good idea.
      
      Darren  darrenk@insightdist.com
      
      (Also cleans up some of the #includes in files referencing BLCKSZ.)
      ==========================================
      374bb5d2
  19. 06 Jan, 1998 1 commit
  20. 05 Jan, 1998 1 commit
  21. 28 Nov, 1997 1 commit
  22. 25 Nov, 1997 1 commit
  23. 24 Nov, 1997 1 commit
  24. 21 Nov, 1997 2 commits
  25. 20 Nov, 1997 1 commit
  26. 02 Nov, 1997 1 commit
  27. 27 Oct, 1997 1 commit
  28. 18 Sep, 1997 1 commit
  29. 08 Sep, 1997 2 commits
  30. 07 Sep, 1997 1 commit
  31. 22 Aug, 1997 1 commit
  32. 21 Aug, 1997 1 commit