Skip to content
Snippets Groups Projects
  1. Jul 17, 1999
  2. Jul 16, 1999
  3. Jul 15, 1999
  4. Jul 14, 1999
  5. Jul 13, 1999
  6. Jul 12, 1999
  7. Jul 10, 1999
  8. Jul 09, 1999
  9. Jul 08, 1999
    • Bruce Momjian's avatar
      > In both datetime_trunc() and timespan_trunc() in dt.c, · 2cf2a4fe
      Bruce Momjian authored
      > the DTK_MICROSEC case is just like the DTK_MILLISEC case.
      > I think this is wrong and it ought to look like
      >         fsec = rint(fsec * 1000000) / 1000000;
      > no?
      
      Tom Lane.
      2cf2a4fe
    • Bruce Momjian's avatar
      pg_atoi() does range check on int4 data only if · 5035d7b9
      Bruce Momjian authored
      "HAS_LONG_LONG" is defined based on the assumption that
      strtol() would return ERANGE if a platform does not support
      64-bit integers. In current PostgreSQL 6.5 (and 6.4.2)
      distribution, "HAS_LONG_LONG" is defined only if platform
      is "alpha". (See include/port/alpha.h) I think the int4
      range check should apply to linux_alpha as well. (I have
      not tested yet but I guess this might be applicable to
      newer Linux/i386 distributions which includes new GCC which
      implements long int as 64-bit int.)
      5035d7b9
  10. Jul 07, 1999
  11. Jul 04, 1999
  12. Jul 03, 1999
  13. Jul 02, 1999
  14. Jun 19, 1999
  15. Jun 12, 1999
    • Bruce Momjian's avatar
      Reversed out Massimo patch. · 0c3281ce
      Bruce Momjian authored
      0c3281ce
    • Bruce Momjian's avatar
      I don't like last minute patches before the final freeze, but I believe that · 603e153b
      Bruce Momjian authored
      this one could be useful for people experiencing out-of-memory crashes while
      executing queries which retrieve or use a very large number of tuples.
      
      The problem happens when storage is allocated for functions results used in
      a large query, for example:
      
        select upper(name) from big_table;
        select big_table.array[1] from big_table;
        select count(upper(name)) from big_table;
      
      This patch is a dirty hack that fixes the out-of-memory problem for the most
      common cases, like the above ones. It is not the final solution for the
      problem but it can work for some people, so I'm posting it.
      
      The patch should be safe because all changes are under #ifdef. Furthermore
      the feature can be enabled or disabled at runtime by the `free_tuple_memory'
      options in the pg_options file. The option is disabled by default and must
      be explicitly enabled at runtime to have any effect.
      
      To enable the patch add the follwing line to Makefile.custom:
      
      CUSTOM_COPT += -DFREE_TUPLE_MEMORY
      
      To enable the option at runtime add the following line to pg_option:
      
      free_tuple_memory=1
      
      Massimo
      603e153b
  16. Jun 07, 1999
  17. Jun 05, 1999
    • Marc G. Fournier's avatar
      · 93b57eb5
      Marc G. Fournier authored
      trace.patch (compilation error)
      
              the gettimeofday doesn't compile under Linux with glibc2 because
              the DST_NONE constant is no more defined. It seems that this code
              (written by me) has always be wrong but for some reason working.
      
      From: Massimo Dal Zotto <dz@cs.unitn.it>
      93b57eb5
  18. Jun 04, 1999
  19. Jun 02, 1999
  20. Jun 01, 1999
  21. May 31, 1999
Loading