1. 25 Aug, 2007 7 commits
    • Tom Lane's avatar
      Fix brain fade in DefineIndex(): it was continuing to access the table's · 75d091a0
      Tom Lane authored
      relcache entry after having heap_close'd it.  This could lead to misbehavior
      if a relcache flush wiped out the cache entry meanwhile.  In 8.2 there is a
      very real risk of CREATE INDEX CONCURRENTLY using the wrong relid for locking
      and waiting purposes.  I think the bug is only cosmetic in 8.0 and 8.1,
      because their transgression is limited to using RelationGetRelationName(rel)
      in an ereport message immediately after heap_close, and there's no way (except
      with special debugging options) for a cache flush to occur in that interval.
      Not quite sure that it's cosmetic in 7.4, but seems best to patch anyway.
      
      Found by trying to run the regression tests with CLOBBER_CACHE_ALWAYS enabled.
      Maybe we should try to do that on a regular basis --- it's awfully slow,
      but perhaps some fast buildfarm machine could do it once in awhile.
      75d091a0
    • Tom Lane's avatar
      Simplify implementation of ts_debug() function --- use a join instead · 21168267
      Tom Lane authored
      of redundant sub-selects.  initdb not forced, since this is just a
      cosmetic change, but the new code won't show up till you do one.
      21168267
    • Tatsuo Ishii's avatar
      The upper limit for -c option of pgbench is now obtained from · e4a52eca
      Tatsuo Ishii authored
      (FD_SETSIZE - 10) rather than a hardwired number.
      e4a52eca
    • Tom Lane's avatar
      Some more tsearch docs work --- sync names with CVS-tip reality, some · 52a0830c
      Tom Lane authored
      minor rewording, some markup fixups.  Lots left to do here ...
      52a0830c
    • Tom Lane's avatar
      Fix synonym-dict breakage introduced in last patch :-(. · a13cefaf
      Tom Lane authored
      Minor other cleanups.
      a13cefaf
    • Tom Lane's avatar
      Rename built-in Snowball stemmer dictionaries to be english_stem, · 93eab931
      Tom Lane authored
      russian_stem, etc.  Per discussion.
      93eab931
    • Tom Lane's avatar
      Cleanup for some problems in tsearch patch: · 7351b5fa
      Tom Lane authored
      - ispell initialization crashed on empty dictionary file
      - ispell initialization crashed on affix file with prefixes but no suffixes
      - stop words file was run through pg_verify_mbstr, with database
        encoding, but it's supposed to be UTF-8; similar bug for synonym files
      - bunch of comments added, typos fixed, and other cleanup
      
      Introduced consistent encoding checking/conversion of data read from tsearch
      configuration files, by doing this in a single t_readline() subroutine
      (replacing direct usages of fgets).  Cleaned up API for readstopwords too.
      
      Heikki Linnakangas
      7351b5fa
  2. 23 Aug, 2007 5 commits
  3. 22 Aug, 2007 11 commits
  4. 21 Aug, 2007 16 commits
  5. 20 Aug, 2007 1 commit