1. 30 4月, 2006 4 次提交
  2. 29 4月, 2006 5 次提交
    • B
      Solaris tas() uses 'int' now. · 291724df
      Bruce Momjian 提交于
      Theo Schlossnagle
      291724df
    • B
      Intel compiler has a bug/misoptimization in checking for division by NAN · 61091ec2
      Bruce Momjian 提交于
      (NaN == 0), -mp1 fixes it, so add it to the CFLAGS.  Autoconf run.
      
      Jeremy Drake
      61091ec2
    • B
      Fix s_lock_test to use tas.o file, if needed. · a1ee6215
      Bruce Momjian 提交于
      a1ee6215
    • T
      Remove the restriction originally coded into optimize_minmax_aggregates() that · 53ee9f52
      Tom Lane 提交于
      MIN/MAX not be converted to use an index if the query WHERE clause contains
      any volatile functions or subplans.
      
      I had originally feared that the conversion might alter the behavior of such a
      query with respect to a volatile function.  Well, so it might, but only in the
      sense that the function would get evaluated at a subset of the table rows
      rather than all of them --- and we have never made any such guarantee anyway.
      (For instance, we don't refuse to use an index for an ordinary non-aggregate
      query when one of the non-indexable filter conditions contains a volatile
      function.)
      
      The prohibition against subplans was because of worry that that case wasn't
      adequately tested, which it wasn't, but it turns out to be possible to make
      8.1 fail anyway:
      
      regression=# select o.ten, (select max(unique2) from tenk1 i where ten = o.ten
      or ten = (select f1 from int4_tbl limit 1)) from tenk1 o;
      ERROR:  direct correlated subquery unsupported as initplan
      
      This is due to bogus code in SS_make_initplan_from_plan (it's an initplan,
      ergo it can't have any parParams).  Having fixed that, we might as well allow
      subplans as well as initplans.
      53ee9f52
    • B
      4c5eb2c2
  3. 28 4月, 2006 9 次提交
  4. 27 4月, 2006 22 次提交