Skip to content
Snippets Groups Projects
  1. Aug 02, 2007
  2. Aug 01, 2007
  3. Jul 31, 2007
  4. Jul 27, 2007
  5. Jul 26, 2007
    • Tom Lane's avatar
      Remove FileUnlink(), which wasn't being used anywhere and interacted poorly · e4f4a7f5
      Tom Lane authored
      with the recent patch to log temp file sizes at removal time.  Doesn't seem
      worth fixing since it's unused.
      In passing, make a few elog messages conform to the message style guide.
      e4f4a7f5
    • Tom Lane's avatar
      Arrange to put TOAST tables belonging to temporary tables into special schemas · 82eed4db
      Tom Lane authored
      named pg_toast_temp_nnn, alongside the pg_temp_nnn schemas used for the temp
      tables themselves.  This allows low-level code such as the relcache to
      recognize that these tables are indeed temporary, which enables various
      optimizations such as not WAL-logging changes and using local rather than
      shared buffers for access.  Aside from obvious performance benefits, this
      provides a solution to bug #3483, in which other backends unexpectedly held
      open file references to temporary tables.  The scheme preserves the property
      that TOAST tables are not in any schema that's normally in the search path,
      so they don't conflict with user table names.
      
      initdb forced because of changes in system view definitions.
      82eed4db
  6. Jul 25, 2007
  7. Jul 24, 2007
  8. Jul 23, 2007
  9. Jul 22, 2007
    • Tom Lane's avatar
      Fix elog.c to avoid infinite recursion (leading to backend crash) when · a0dab332
      Tom Lane authored
      log_min_error_statement is active and there is some problem in logging the
      current query string; for example, that it's too long to include in the log
      message without running out of memory.  This problem has existed since the
      log_min_error_statement feature was introduced.  No doubt the reason it
      wasn't detected long ago is that 8.2 is the first release that defaults
      log_min_error_statement to less than PANIC level.
      Per report from Bill Moran.
      a0dab332
  10. Jul 21, 2007
  11. Jul 20, 2007
  12. Jul 19, 2007
  13. Jul 18, 2007
    • Tom Lane's avatar
      Fix an old thinko in SS_make_initplan_from_plan, which is used when optimizing · d514ea3f
      Tom Lane authored
      a MIN or MAX aggregate call into an indexscan: the initplan is being made at
      the current query nesting level and so we shouldn't increment query_level.
      Though usually harmless, this mistake could lead to bogus "plan should not
      reference subplan's variable" failures on complex queries.  Per bug report
      from David Sanchez i Gregori.
      d514ea3f
Loading