Skip to content
Snippets Groups Projects
  1. Jun 04, 2007
  2. Jun 03, 2007
  3. Jun 02, 2007
    • Tom Lane's avatar
      Fix erroneous error reporting for overlength input in text_date(), · 376ee150
      Tom Lane authored
      text_time(), and text_timetz().  7.4-vintage bug found by Greg Stark.
      376ee150
    • Bruce Momjian's avatar
      Re-add TODO and clarify it is for the kernel cache: · 4e023373
      Bruce Momjian authored
      < * Allow free-behind capability for large sequential scans, perhaps using
      <   posix_fadvise()
      > * Allow free-behind capability for large sequential scans to avoid
      >   kernel cache spoiling
      4e023373
    • Bruce Momjian's avatar
      TODO item not needed anymore now that the buffer cache is · ededa6df
      Bruce Momjian authored
      scan-resistant:
      
      <
      < * Allow free-behind capability for large sequential scans, perhaps using
      <   posix_fadvise()
      <
      <   Posix_fadvise() can control both sequential/random file caching and
      <   free-behind behavior, but it is unclear how the setting affects other
      <   backends that also have the file open, and the feature is not supported
      <   on all operating systems.
      ededa6df
    • Andrew Dunstan's avatar
      Improve efficiency of LIKE/ILIKE code, especially for multi-byte charsets, · 15f8202c
      Andrew Dunstan authored
      and most especially for UTF8. Remove unnecessary special cases for bytea
      processing and single-byte charset ILIKE.  a ILIKE b is now processed as
      lower(a) LIKE lower(b) in all cases. The code is now considerably simpler. All
      comparisons are now performed byte-wise, and the text and pattern are also
      advanced byte-wise where it is safe to do so - essentially where a wildcard is
      not being matched.
      Andrew Dunstan, from an original patch by ITAGAKI Takahiro, with ideas from
      Tom Lane and Mark Mielke.
      15f8202c
    • Tom Lane's avatar
      Fix aboriginal bug in BufFileDumpBuffer that would cause it to write the · 964ec46c
      Tom Lane authored
      wrong data when dumping a bufferload that crosses a component-file boundary.
      This probably has not been seen in the wild because (a) component files are
      normally 1GB apiece and (b) non-block-aligned buffer usage is relatively
      rare.  But it's fairly easy to reproduce a problem if one reduces RELSEG_SIZE
      in a test build.  Kudos to Kurt Harriman for spotting the bug.
      964ec46c
    • Neil Conway's avatar
      Allow leading and trailing whitespace in the input to the boolean · f086be3d
      Neil Conway authored
      type. Also, add explicit casts between boolean and text/varchar. Both
      of these changes are for conformance with SQL:2003.
      
      Update the regression tests, bump the catversion.
      f086be3d
  4. Jun 01, 2007
  5. May 31, 2007
  6. May 30, 2007
    • Tom Lane's avatar
      Fix overly-strict sanity check in BeginInternalSubTransaction that made it · fa0e318f
      Tom Lane authored
      fail when used in a deferred trigger.  Bug goes back to 8.0; no doubt the
      reason it hadn't been noticed is that we've been discouraging use of
      user-defined constraint triggers.  Per report from Frank van Vugt.
      fa0e318f
    • Bruce Momjian's avatar
      Update: · 9b89c13a
      Bruce Momjian authored
      < * Consider allowing 64-bit integers to be passed by value on 64-bit
      <   platforms
      > * Consider allowing 64-bit integers and floats to be passed by value on
      >   64-bit platforms
      >
      >   Also change 32-bit floats (float4) to be passed by value at the same
      >   time.
      >
      9b89c13a
    • Tom Lane's avatar
      Make large sequential scans and VACUUMs work in a limited-size "ring" of · d526575f
      Tom Lane authored
      buffers, rather than blowing out the whole shared-buffer arena.  Aside from
      avoiding cache spoliation, this fixes the problem that VACUUM formerly tended
      to cause a WAL flush for every page it modified, because we had it hacked to
      use only a single buffer.  Those flushes will now occur only once per
      ring-ful.  The exact ring size, and the threshold for seqscans to switch into
      the ring usage pattern, remain under debate; but the infrastructure seems
      done.  The key bit of infrastructure is a new optional BufferAccessStrategy
      object that can be passed to ReadBuffer operations; this replaces the former
      StrategyHintVacuum API.
      
      This patch also changes the buffer usage-count methodology a bit: we now
      advance usage_count when first pinning a buffer, rather than when last
      unpinning it.  To preserve the behavior that a buffer's lifetime starts to
      decrease when it's released, the clock sweep code is modified to not decrement
      usage_count of pinned buffers.
      
      Work not done in this commit: teach GiST and GIN indexes to use the vacuum
      BufferAccessStrategy for vacuum-driven fetches.
      
      Original patch by Simon, reworked by Heikki and again by Tom.
      d526575f
    • Bruce Momjian's avatar
      Fix wording: · 0a6f2ee8
      Bruce Momjian authored
      < * Consider allowing 64-bit integers to be passed by reference on 64-bit
      > * Consider allowing 64-bit integers to be passed by value on 64-bit
      0a6f2ee8
    • Bruce Momjian's avatar
      Add: · 8a73ec13
      Bruce Momjian authored
      >
      > * Consider allowing 64-bit integers to be passed by reference on 64-bit
      >   platforms
      8a73ec13
    • Bruce Momjian's avatar
      18e3992e
    • Bruce Momjian's avatar
      Update documentation mention of VACUUM FULL and CLUSTER where · 9e38d2a4
      Bruce Momjian authored
      appropriate.
      
      Guillaume Cottenceau
      9e38d2a4
    • Neil Conway's avatar
      f14f27dd
    • Bruce Momjian's avatar
      Add URL for: · 85df43f3
      Bruce Momjian authored
      * Improve speed with indexes
      
        For large table adjustments during VACUUM FULL, it is faster to cluster
        or reindex rather than update the index.  Also, index updates can bloat
        the index.
      85df43f3
    • Bruce Momjian's avatar
      7d3b7011
    • Bruce Momjian's avatar
      Update /contrib OS/X startup files, and move to a separate OS/X · 87a94732
      Bruce Momjian authored
      directory.
      
      Mark Cotner and David Fetter
      87a94732
Loading