1. 21 6月, 1999 3 次提交
  2. 19 6月, 1999 7 次提交
  3. 18 6月, 1999 4 次提交
  4. 17 6月, 1999 6 次提交
  5. 16 6月, 1999 1 次提交
  6. 15 6月, 1999 3 次提交
  7. 14 6月, 1999 9 次提交
  8. 13 6月, 1999 6 次提交
    • T
      change #if defined(__mc68000__) to: · de7c728d
      Tatsuo Ishii 提交于
      #if defined(__mc68000__) && defined(__linux__)
      so that other m68k systems(such as NetBSD) will not be affected.
      de7c728d
    • T
      Move default NBuffers setting into config.h, and rename it · 642d21a5
      Tom Lane 提交于
      to DEF_NBUFFERS for readability.  Make sure the default value is OK
      according to postmaster.c's new sanity check for -B values.
      642d21a5
    • T
      Fix critical error noticed by Massimo: copy.c used to have a · d9e223d5
      Tom Lane 提交于
      special hack to ensure it would close its output file even after failure
      due to elog(ERROR) partway through the copy.  This is now unnecessary
      because fd.c takes care of cleaning up open files at transaction abort;
      worse, after fd.c closed the file copy.c would try to do so *again* at
      the start of the next COPY command.  This would result in havoc in most
      implementations of stdio library.
      d9e223d5
    • T
      Remove query_planner's overhasty rejection of cases where · aaf24424
      Tom Lane 提交于
      tlist and qual are NULL.  It ought to handle these the same as the cases
      where tlist contains only constant expressions, ie, be willing to generate
      a Result-node plan.  This did not use to matter, but it does now because
      union_planner will flatten the tlist when aggregates are present.  Thus,
      'select count(1) from table' now causes query_planner to be given a null
      tlist, and to duplicate 6.4's behavior we need it to give back a Result
      plan rather than refusing the query.  6.4 was arguably doing the Wrong
      Thing for this query, but I'm not going to open a semantics issue right
      before 6.5 release ... can revisit that problem later.
      aaf24424
    • T
      Plug hole in dike: planner would coredump if query_planner · acf242da
      Tom Lane 提交于
      returned NULL, which it will do in some cases where an elog(ERROR) would
      probably be more appropriate.  For the moment, generate a not-very-
      informative error message rather than proceeding to certain coredump.
      Probably ought to think about making query_planner elog instead of
      returning NULL, but this is at least a safe change for now.
      acf242da
    • T
      When targetlist is NULL, ExecTargetList was passing back a · 1918a1d1
      Tom Lane 提交于
      pointer to palloc'd but uninitialized memory.  This is not cool; anyone looking
      at the returned 'tuple' would at best coredump and at worst behave in a
      bizarre and irreproducible way.  Fix it to return a predictable value,
      namely a correctly-set-up palloc'd tuple containing zero attributes.
      I believe this fix is both safe and critical.
      1918a1d1
  9. 12 6月, 1999 1 次提交