Skip to content
Snippets Groups Projects
  1. Jul 12, 2000
  2. Jun 28, 2000
    • Tom Lane's avatar
      First phase of memory management rewrite (see backend/utils/mmgr/README · 1aebc361
      Tom Lane authored
      for details).  It doesn't really do that much yet, since there are no
      short-term memory contexts in the executor, but the infrastructure is
      in place and long-term contexts are handled reasonably.  A few long-
      standing bugs have been fixed, such as 'VACUUM; anything' in a single
      query string crashing.  Also, out-of-memory is now considered a
      recoverable ERROR, not FATAL.
      Eliminate a large amount of crufty, now-dead code in and around
      memory management.
      Fix problem with holding off SIGTRAP, SIGSEGV, etc in postmaster and
      backend startup.
      1aebc361
  3. Jun 15, 2000
  4. May 31, 2000
    • Peter Eisentraut's avatar
      The heralded `Grand Unified Configuration scheme' (GUC) · 6a68f426
      Peter Eisentraut authored
      That means you can now set your options in either or all of $PGDATA/configuration,
      some postmaster option (--enable-fsync=off), or set a SET command. The list of
      options is in backend/utils/misc/guc.c, documentation will be written post haste.
      
      pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
      -Q, and -T options (no longer applicable, although -d0 does the same as -Q).
      
      Added to configure an --enable-syslog option.
      
      changed all callers from TPRINTF to elog(DEBUG)
      6a68f426
  5. Apr 18, 2000
  6. Jan 26, 2000
    • Bruce Momjian's avatar
      Add: · 5c25d602
      Bruce Momjian authored
        * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
      
      to all files copyright Regents of Berkeley.  Man, that's a lot of files.
      5c25d602
  7. Jan 20, 2000
    • Tom Lane's avatar
      Fix handling of NULL constraint conditions: per SQL92 spec, a NULL result · 6d1efd76
      Tom Lane authored
      from a constraint condition does not violate the constraint (cf. discussion
      on pghackers 12/9/99).  Implemented by adding a parameter to ExecQual,
      specifying whether to return TRUE or FALSE when the qual result is
      really NULL in three-valued boolean logic.  Currently, ExecRelCheck is
      the only caller that asks for TRUE, but if we find any other places that
      have the wrong response to NULL, it'll be easy to fix them.
      6d1efd76
  8. Jan 09, 2000
  9. Dec 16, 1999
  10. Dec 10, 1999
  11. Oct 13, 1999
    • Tom Lane's avatar
      Split 'BufFile' routines out of fd.c into a new module, buffile.c. Extend · db3c4c3a
      Tom Lane authored
      BufFile so that it handles multi-segment temporary files transparently.
      This allows sorts and hashes to work with data exceeding 2Gig (or whatever
      the local limit on file size is).  Change psort.c to use relative seeks
      instead of absolute seeks for backwards scanning, so that it won't fail
      when the data volume exceeds 2Gig.
      db3c4c3a
  12. Jul 17, 1999
  13. Jul 16, 1999
  14. May 25, 1999
  15. May 18, 1999
    • Tom Lane's avatar
      Rewrite hash join to use simple linked lists instead of a · 26069a58
      Tom Lane authored
      fixed-size hashtable.  This should prevent 'hashtable out of memory' errors,
      unless you really do run out of memory.  Note: target size for hashtable
      is now taken from -S postmaster switch, not -B, since it is local memory
      in the backend rather than shared memory.
      26069a58
  16. May 09, 1999
  17. May 06, 1999
    • Tom Lane's avatar
      Fix some nasty coredump bugs in hashjoin. This code was just · 9f82f9e4
      Tom Lane authored
      about certain to fail anytime it decided the relation to be hashed was
      too big to fit in memory --- the code for 'batching' a series of hashjoins
      had multiple errors.  I've fixed the easier problems.  A remaining big
      problem is that you can get 'hashtable out of memory' if the code's
      guesstimate about how much overflow space it will need turns out wrong.
      That will require much more extensive revisions to fix, so I'm committing
      these fixes now before I start on that problem.
      9f82f9e4
  18. Apr 08, 1999
    • Tom Lane's avatar
      Fix some more hashjoin-related bugs in pg_operator. Fix · af871480
      Tom Lane authored
      hashjoin's hashFunc() so that it does the right thing with pass-by-value
      data types (the old code would always return 0 for int2 or char values,
      which would work but would slow things down a lot).  Extend opr_sanity
      regress test to catch more kinds of errors.
      af871480
  19. Feb 14, 1999
  20. Feb 03, 1999
  21. Jan 17, 1999
  22. Dec 15, 1998
  23. Dec 14, 1998
    • Marc G. Fournier's avatar
      · 9396802f
      Marc G. Fournier authored
      more cleanups...of note, appendStringInfo now performs like sprintf(),
      where you state a format and arguments.  the old behavior required
      each appendStringInfo to have to have a sprintf() before it if any
      formatting was required.
      
      Also shortened several instances where there were multiple appendStringInfo()
      calls in a row, doing nothing more then adding one more word to the String,
      instead of doing them all in one call.
      9396802f
    • Marc G. Fournier's avatar
      · df1468e2
      Marc G. Fournier authored
      Many more cleanups...
      df1468e2
    • Marc G. Fournier's avatar
      · 7c3b7d27
      Marc G. Fournier authored
      Initial attempt to clean up the code...
      
      Switch sprintf() to snprintf()
      Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of
      	code
      7c3b7d27
  24. Nov 27, 1998
  25. Sep 01, 1998
  26. Jun 15, 1998
  27. Feb 26, 1998
  28. Feb 13, 1998
    • Vadim B. Mikheev's avatar
      Support for subselects. · 1a105cef
      Vadim B. Mikheev authored
      ExecReScan for nodeAgg, nodeHash, nodeHashjoin, nodeNestloop and nodeResult.
      Fixed ExecReScan for nodeMaterial.
      Get rid of #ifdef INDEXSCAN_PATCH.
      Get rid of ExecMarkPos and ExecRestrPos in nodeNestloop.
      1a105cef
  29. Feb 11, 1998
  30. Jan 25, 1998
  31. Jan 13, 1998
    • 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
  32. Jan 07, 1998
  33. Jan 05, 1998
  34. Sep 08, 1997
  35. Sep 07, 1997
  36. Aug 19, 1997
Loading