Skip to content
Snippets Groups Projects
  1. Apr 15, 1997
    • Marc G. Fournier's avatar
      9778b946
    • Marc G. Fournier's avatar
      From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · 88d74046
      Marc G. Fournier authored
      Subject: [HACKERS] Money integration patches
      
      Here are patches to integrate the money data type. I have included
      some math and aggregate functions and have made the locale support optional
      by #ifdef USE_LOCALE bracketing of functions.
      
      Modules affected are:
      builtins.h.patch
      cash.c.patch
      cash.h.patch
      main.c.patch
      pg_aggregate.h.patch
      pg_operator.h.patch
      pg_proc.h.patch
      pg_type.h.patch
      
      I changed the data type to be pass-by-reference rather than by-value
      to pave the way for a larger internal representation (64-bit ints?).
      Also, I changed the tabbing of cash.c and cash.h to match most of
      the other Postgres source code files (4 space indent, 8 spaces == 1 tab).
      
      The locale stuff should be tested under another convention (Russian?)
      but I don't know what the correct results should be so perhaps someone
      else can give them a try. Will update docs and regression tests in
      the next few days.
      88d74046
    • Marc G. Fournier's avatar
      2. The file /usr/local/pgsql/src/backend/lipq/pgcomprim.c has two · d8a300d8
      Marc G. Fournier authored
      invalid macro definitions, the compiler complains about:
      
      "pqcomprim.c", line 48.9: 1506-275 (S) Unexpected text ';' ignored.
      "pqcomprim.c", line 61.9: 1506-275 (S) Unexpected text ';' ignored.
      
      The ';' terminating the macro definition ntoh_s(n) on line 27 and
      ntoh_l(n) on line 28 should be removed.
      
      
      Pointed out by: Olaf Mittelstaedt <MSTAEDT@va-sigi.va.fh-ulm.de>
      d8a300d8
    • Marc G. Fournier's avatar
      Fix up the -Wno-error problem for non-gcc compilers · 953ac7b5
      Marc G. Fournier authored
      Pointed out by many many ppl
      953ac7b5
  2. Apr 13, 1997
  3. Apr 12, 1997
  4. Apr 11, 1997
  5. Apr 10, 1997
  6. Apr 09, 1997
  7. Apr 08, 1997
  8. Apr 07, 1997
  9. Apr 06, 1997
  10. Apr 05, 1997
Loading