Skip to content
Snippets Groups Projects
  1. Aug 05, 1998
    • Marc G. Fournier's avatar
      · a1627a1d
      Marc G. Fournier authored
      From: David Hartwig <daybee@bellatlantic.net>
      
      I have attached a patch to allow GROUP BY and/or ORDER BY function or
      expressions.  Note worthy items:
      
      1. The expression or function need not be in the target list.
      Example:
                  SELECT  name FROM foo GROUP BY lower(name);
      
      2.   Simplified the grammar to use expressions only.
      
      3.  Cleaned up earlier patch in this area to make use of existing
      utility functions.
      
      3.  Reduced some of the members in the SortGroupBy parse node.   The
      original data members were redundant with the new expression node.
      (MUST do a "make clean" now)
      
      4.  Added a new parse node "JoinUsing".   The JOIN USING clause was
      overloading this SortGroupBy structure.   With the afore mentioned
      reduction of members, the two clauses lost all their commonality.
      
      5.  A bug still exist where, if a function or expression is GROUPed BY,
      and an aggregate function does not include a attribute from the
      expression or function, the backend crashes.   (or something like
      that)   The bug pre-dates this patch.    Example:
      
          SELECT lower(a) AS lowcase, count(b) FROM foo GROUP BY lowcase;
                       *** BOOM  ***
      
          --Also when not in target list
          SELECT  count(b) FROM foo GROUP BY lower(a);
                      *** BOOM  AGAIN ***
      a1627a1d
    • Marc G. Fournier's avatar
      · 186aeb1d
      Marc G. Fournier authored
      From: Dr. Michael Meskes <meskes@online-club.de>
      
      So this should finally get cursors working. There was an ugly bug in it.
      186aeb1d
  2. Aug 04, 1998
  3. Aug 03, 1998
  4. Aug 02, 1998
  5. Aug 01, 1998
    • Marc G. Fournier's avatar
      · 0668aa88
      Marc G. Fournier authored
      Adrian Hall reported a problem to me that snprintf() doesn't exist in, at
      least, Solaris 2.5.1.  We use it in backend/utils/adt/int8.c.
      
      Add a check to configure so that we see if it exists or not, and, if not,
      compile in snprintf.c from backend/port, which was taken from, and falls under
      the same Berkeley license as us, the FreeBSD libc/stdio ...
      0668aa88
    • Vadim B. Mikheev's avatar
      0d78e8c1
  6. Jul 31, 1998
  7. Jul 30, 1998
  8. Jul 29, 1998
  9. Jul 27, 1998
  10. Jul 26, 1998
    • Marc G. Fournier's avatar
      · 5979d738
      Marc G. Fournier authored
      From: t-ishii@sra.co.jp
      
      As Bruce mentioned, this is due to the conflict among changes we made.
      Included patches should fix the problem(I changed all MB to
      MULTIBYTE). Please let me know if you have further problem.
      
      P.S. I did not include pathces to configure and gram.c to save the
      file size(configure.in and gram.y modified).
      5979d738
    • Marc G. Fournier's avatar
      · 74b30a3a
      Marc G. Fournier authored
      I missed addding initdb.sh ...
      74b30a3a
    • Bruce Momjian's avatar
      Update flowchart. Add arrow. · e05aa52a
      Bruce Momjian authored
      e05aa52a
Loading