1. 02 11月, 1997 1 次提交
  2. 31 10月, 1997 1 次提交
  3. 28 10月, 1997 1 次提交
  4. 25 10月, 1997 3 次提交
  5. 15 10月, 1997 1 次提交
  6. 21 9月, 1997 1 次提交
  7. 09 9月, 1997 1 次提交
  8. 08 9月, 1997 1 次提交
  9. 07 9月, 1997 1 次提交
  10. 05 9月, 1997 1 次提交
  11. 04 9月, 1997 1 次提交
  12. 01 9月, 1997 2 次提交
  13. 31 8月, 1997 1 次提交
  14. 22 8月, 1997 3 次提交
  15. 21 8月, 1997 4 次提交
  16. 20 8月, 1997 1 次提交
  17. 19 8月, 1997 1 次提交
  18. 30 7月, 1997 1 次提交
  19. 03 6月, 1997 1 次提交
  20. 27 5月, 1997 1 次提交
  21. 14 5月, 1997 1 次提交
  22. 11 5月, 1997 1 次提交
  23. 06 5月, 1997 1 次提交
  24. 28 4月, 1997 1 次提交
  25. 23 4月, 1997 1 次提交
    • M
      Major patch from Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · 9e2a87b6
      Marc G. Fournier 提交于
      OK, here are a passel of patches for the geometric data types.
      These add a "circle" data type, new operators and functions
      for the existing data types, and change the default formats
      for some of the existing types to make them consistant with
      each other. Current formatting conventions (e.g. compatible
      with v6.0 to allow dump/reload) are supported, but the new
      conventions should be an improvement and we can eventually
      drop the old conventions entirely.
      
      For example, there are two kinds of paths (connected line segments),
      open and closed, and the old format was
      
      '(1,2,1,2,3,4)' for a closed path with two points (1,2) and (3,4)
      '(0,2,1,2,3,4)' for an open path with two points (1,2) and (3,4)
      
      Pretty arcane, huh? The new format for paths is
      
      '((1,2),(3,4))' for a closed path with two points (1,2) and (3,4)
      '[(1,2),(3,4)]' for an open path with two points (1,2) and (3,4)
      
      For polygons, the old convention is
      
      '(0,4,2,0,4,3)' for a triangle with points at (0,0),(4,4), and (2,3)
      
      and the new convention is
      
      '((0,0),(4,4),(2,3))' for a triangle with points at (0,0),(4,4), and (2,3)
      
      Other data types which are also represented as lists of points
      (e.g. boxes, line segments, and polygons) have similar representations
      (they surround each point with parens).
      
      For v6.1, any format which can be interpreted as the old style format
      is decoded as such; we can remove that backwards compatibility but ugly
      convention for v7.0. This will allow dump/reloads from v6.0.
      
      These include some updates to the regression test files to change the test
      for creating a data type from "circle" to "widget" to keep the test from
      trashing the new builtin circle type.
      9e2a87b6
  26. 16 4月, 1997 1 次提交
    • M
      From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · 88d74046
      Marc G. Fournier 提交于
      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
  27. 04 4月, 1997 1 次提交
    • M
      From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · 9d5c0af5
      Marc G. Fournier 提交于
      Subject: [HACKERS] Aggregate function patches
      
      Here are the aggregate function patches I originally sent in last December.
      They fix sum() and avg() behavior for ints and floats when NULL values are
      involved.
      
      I was waiting to resubmit these until I had a chance to write a v6.0->v6.1
      database upgrade script to ensure that existing v6.0 databases which have
      not been reloaded for v6.1 do no break with the new aggregate behavior.
      These scripts are included below. It's OK with me if someone wants to do
      something different with the upgrade strategy, but something like this
      was discussed a few weeks ago.
      
      Also, there were a couple of small items which cropped up in doing a clean
      install of 970403 (actually 970402 + 970403 changes since the full 970403
      tar file appears to be damaged or at least suspect). They are the first
      two patches below and can be omitted if desired (although I think they
      aren't dangerous :).
      9d5c0af5
  28. 03 4月, 1997 1 次提交
    • M
      From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · 2ab34dfe
      Marc G. Fournier 提交于
      Subject: [HACKERS] More date time functions
      
      Here are some additional patches mostly related to the date and time
      data types. It includes some type conversion routines to move between
      the different date types and some other date manipulation routines such
      as date_part(units,datetime).
      
      I noticed Edmund Mergl et al's neat trick for getting function overloading
      for builtin functions, so started to use that for the date and time stuff.
      Later, if someone figures out how to get function overloading directly
      for internal C code, then we can move to that technique.
      
      These patches include documentation updates (don't faint!) for the built-in
      man page. Doesn't yet include mention of timestamp, since I don't know
      much about it and since it may change a bit to become a _real_ ANSI timestamp
      which would include parser support for the declaration syntax (what do you
      think, Dan?).
      
      The patches were developed on the 970330 release, but have been rebuilt
      off of the 970402 release. The first patch below is to get libpq to compile,
      on my Linux box, but is not related to the rest of the patches and you can
      choose not to apply that one at this time. Thanks in advance, scrappy!
      2ab34dfe
  29. 02 4月, 1997 1 次提交
  30. 25 3月, 1997 1 次提交
    • M
      From: Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> · dfe04753
      Marc G. Fournier 提交于
      Subject: [HACKERS] More patches for date/time
      
      I have accumulated several patches to add functionality to the datetime
      and timespan data types as well as to fix reported porting bugs on non-BSD
      machines. These patches are:
      
      dt.c.patch              - add datetime_part(), fix bugs
      dt.h.patch              - add quarter and timezone support, add prototypes
      globals.c.patch         - add time and timezone variables
      miscadmin.h.patch       - add time and timezone variables
      nabstime.c.patch        - add datetime conversion routine
      nabstime.h.patch        - add prototypes
      pg_operator.h.patch     - add datetime operators, clean up formatting
      pg_proc.h.patch         - add datetime functions, reassign conflicting date OIDs
      pg_type.h.patch         - add datetime and timespan data types
      
      The dt.c and pg_proc.h patches are fairly large; the latter mostly because I tried
      to get some columns for existing entries to line up.
      dfe04753
  31. 24 3月, 1997 1 次提交
  32. 19 3月, 1997 1 次提交