1. 20 Oct, 2005 2 commits
  2. 19 Oct, 2005 3 commits
    • Tom Lane's avatar
      Better solution to the problem of labeling whole-row Datums that are · d9cb4878
      Tom Lane authored
      generated from subquery outputs: use the type info stored in the Var
      itself.  To avoid making ExecEvalVar and slot_getattr more complex
      and slower, I split out the whole-row case into a separate ExecEval routine.
      d9cb4878
    • Tom Lane's avatar
      Ensure that the Datum generated from a whole-row Var contains valid · 07908c9c
      Tom Lane authored
      type ID information even when it's a record type.  This is needed to
      handle whole-row Vars referencing subquery outputs.  Per example from
      Richard Huxton.
      07908c9c
    • Tom Lane's avatar
      Fix oversight in recent changes to enable the 'physical tlist' · 32fcfcdb
      Tom Lane authored
      optimization for subquery and function scan nodes: we can't just do it
      unconditionally, we still have to check whether there is any need for
      a whole-row Var.  I had been thinking that these node types couldn't
      have any system columns, which is true, but that loop is also checking
      for attno zero, ie, whole-row Var.  Fix comment to not be so misleading.
      Per test case from Richard Huxton.
      32fcfcdb
  3. 18 Oct, 2005 8 commits
  4. 17 Oct, 2005 1 commit
  5. 16 Oct, 2005 2 commits
  6. 15 Oct, 2005 13 commits
  7. 14 Oct, 2005 4 commits
    • Tom Lane's avatar
      Fix syslog bug: if any messages are emitted to write_syslog before · abd3f43b
      Tom Lane authored
      the facility has been set, the facility gets set to LOCAL0 and cannot
      be changed later.  This seems reasonably plausible to happen, particularly
      at higher debug log levels, though I am not certain it explains Han Holl's
      recent report.  Easiest fix is to teach the code how to change the value
      on-the-fly, which is nicer anyway.  I made the settings PGC_SIGHUP to
      conform with log_destination.
      abd3f43b
    • Andrew Dunstan's avatar
      · f620098d
      Andrew Dunstan authored
      fix nonsensical summary row on example
      f620098d
    • Tom Lane's avatar
      Pass a strdup'd ident string to openlog(), to ensure that reallocation · 4aa0d70f
      Tom Lane authored
      of GUC memory doesn't cause us to start emitting a bogus ident string.
      Per report from Han Holl.  Also some trivial code cleanup in write_syslog.
      4aa0d70f
    • Bruce Momjian's avatar
      Allow times of 24:00:00 to match rounding behavior: · a93bf450
      Bruce Momjian authored
      	regression=# select '23:59:59.9'::time(0);
      	   time
      	----------
      	 24:00:00
      	(1 row)
      
      	This is bad because:
      
      	regression=# select '24:00:00'::time(0);
      	ERROR:  date/time field value out of range: "24:00:00"
      
      The last example now works.
      a93bf450
  8. 13 Oct, 2005 7 commits