1. 09 Oct, 2008 4 commits
    • Alvaro Herrera's avatar
      Improve translatability of error messages for external modules by tweaking · 2532c54d
      Alvaro Herrera authored
      the ereport macro.  Included in this commit are enough files for starting
      plpgsql, plpython, plperl and pltcl translations.
      2532c54d
    • Tom Lane's avatar
      Fix overly tense optimization of PLpgSQL_func_hashkey: we must represent · b1553103
      Tom Lane authored
      the isTrigger state explicitly, not rely on nonzero-ness of trigrelOid
      to indicate trigger-hood, because trigrelOid will be left zero when compiling
      for validation.  The (useless) function hash entry built by the validator
      was able to match an ordinary non-trigger call later in the same session,
      thereby bypassing the check that is supposed to prevent such a call.
      Per report from Alvaro.
      
      It might be worth suppressing the useless hash entry altogether, but
      that's a bigger change than I want to consider back-patching.
      
      Back-patch to 8.0.  7.4 doesn't have the problem because it doesn't
      have validation mode.
      b1553103
    • Tom Lane's avatar
      Fix crash in bytea-to-XML mapping when the source value is toasted. · 1b0f58a9
      Tom Lane authored
      Report and fix by Michael McMaster.  Some minor code beautification by me,
      also avoid memory leaks in the special-case paths.
      1b0f58a9
    • Heikki Linnakangas's avatar
      Force a checkpoint in CREATE DATABASE before starting to copy the files, · db31adda
      Heikki Linnakangas authored
      to process any pending unlinks for the source database.
      
      Before, if you dropped a relation in the template database just before
      CREATE DATABASE, and a checkpoint happened during copydir(), the checkpoint
      might delete a file that we're just about to copy, causing lstat() in
      copydir() to fail with ENOENT.
      
      Backpatch to 8.3, where the pending unlinks were introduced.
      
      Per report by Matthew Wakeling and analysis by Tom Lane.
      db31adda
  2. 08 Oct, 2008 1 commit
  3. 07 Oct, 2008 8 commits
  4. 06 Oct, 2008 11 commits
  5. 05 Oct, 2008 8 commits
  6. 04 Oct, 2008 3 commits
  7. 03 Oct, 2008 4 commits
  8. 02 Oct, 2008 1 commit