1. 24 11月, 1997 1 次提交
  2. 18 11月, 1997 1 次提交
  3. 16 11月, 1997 1 次提交
  4. 15 11月, 1997 1 次提交
  5. 13 11月, 1997 1 次提交
  6. 31 10月, 1997 1 次提交
  7. 25 10月, 1997 1 次提交
  8. 21 9月, 1997 1 次提交
  9. 09 9月, 1997 1 次提交
  10. 08 9月, 1997 1 次提交
  11. 07 9月, 1997 1 次提交
  12. 05 9月, 1997 1 次提交
  13. 01 9月, 1997 1 次提交
  14. 22 8月, 1997 1 次提交
  15. 30 7月, 1997 1 次提交
  16. 03 6月, 1997 1 次提交
  17. 14 5月, 1997 1 次提交
  18. 11 5月, 1997 1 次提交
  19. 06 5月, 1997 1 次提交
  20. 28 4月, 1997 1 次提交
  21. 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
  22. 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
  23. 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
  24. 02 4月, 1997 1 次提交
  25. 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
  26. 24 3月, 1997 1 次提交
  27. 17 3月, 1997 1 次提交
  28. 16 3月, 1997 1 次提交
  29. 15 3月, 1997 1 次提交
  30. 13 3月, 1997 1 次提交
  31. 04 3月, 1997 1 次提交
  32. 15 11月, 1996 1 次提交
    • M
      Features added: · 8abc4901
      Marc G. Fournier 提交于
      * Wrote max(date) and min(date) aggregates
      * Wrote operator "-" for date; date - date yields number of days
        difference
      * Wrote operator+(date,int) and operator-(date,int); the int is the
        number of days.  Each operator returns a new date.
      
      
      By: Tom Tromey <tromey@creche.cygnus.com>
      8abc4901
  33. 14 11月, 1996 1 次提交
    • M
      Commit of a *MAJOR* patch from Dan McGuirk <djm@indirect.com> · 07a65b22
      Marc G. Fournier 提交于
      Changes:
      
              * Unique index capability works using the syntax 'create unique
                index'.
      
              * Duplicate OID's in the system tables are removed.  I put
                little scripts called 'duplicate_oids' and 'find_oid' in
                include/catalog that help to find and remove duplicate OID's.
                I also moved 'unused_oids' from backend/catalog to
                include/catalog, since it has to be in the same directory
                as the include files in order to work.
      
              * The backend tries converting the name of a function or aggregate
                to all lowercase if the original name given doesn't work (mostly
                for compatibility with ODBC).
      
              * You can 'SELECT NULL' to your heart's content.
      
              * I put my _bt_updateitem fix in instead, which uses
                _bt_insertonpg so that even if the new key is so big that
                the page has to be split, everything still works.
      
              * All literal references to system catalog OID's have been
                replaced with references to define'd constants from the catalog
                header files.
      
              * I added a couple of node copy functions.  I think this was a
                preliminary attempt to get rules to work.
      07a65b22
  34. 08 11月, 1996 1 次提交
    • M
      Secondly, small problem when trying to create a MAX/MIN aggregate in 1.09. · 02638701
      Marc G. Fournier 提交于
      >From the create_aggregate man page...
      
      "The arguments to state-transition-function-1 must be
      (stype1,basetype), and its return value must be stype1."
      
      create aggregate MIN (sfunc1 = int2smaller,
                            basetype = int2,
                            stype1 = int2);
      
      will fail becase int2smaller and int2larger are in pg_proc
      as returning an int4.  Can't happen since both args have to
      be int2.
      
      From: Darren King <aixssd!ceodev!darrenk@abs.net>
      02638701
  35. 05 11月, 1996 1 次提交
  36. 03 11月, 1996 1 次提交
  37. 31 10月, 1996 1 次提交
  38. 28 8月, 1996 1 次提交
  39. 26 8月, 1996 1 次提交
  40. 09 7月, 1996 1 次提交