1. 06 8月, 1998 4 次提交
  2. 05 8月, 1998 6 次提交
    • M
      · a1627a1d
      Marc G. Fournier 提交于
      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
    • M
      · 186aeb1d
      Marc G. Fournier 提交于
      From: Dr. Michael Meskes <meskes@online-club.de>
      
      So this should finally get cursors working. There was an ugly bug in it.
      186aeb1d
    • B
      OR processing cleanup. · 1c9a1250
      Bruce Momjian 提交于
      1c9a1250
    • B
      Add Indices display to \d command. · f26e1d39
      Bruce Momjian 提交于
      f26e1d39
    • B
      Fix encoding grammer problem. · 0b442388
      Bruce Momjian 提交于
      0b442388
    • B
      MergeSort was sometimes called mergejoin and was confusing. Now · d9be0ff4
      Bruce Momjian 提交于
      it is now only mergejoin.
      d9be0ff4
  3. 04 8月, 1998 4 次提交
  4. 03 8月, 1998 2 次提交
  5. 02 8月, 1998 8 次提交
  6. 01 8月, 1998 1 次提交
  7. 31 7月, 1998 1 次提交
  8. 30 7月, 1998 1 次提交
  9. 28 7月, 1998 1 次提交
  10. 27 7月, 1998 1 次提交
    • M
      · f7f989c9
      Marc G. Fournier 提交于
      Missed a few files in the last round of commits from Tatsuo, as well
      as needed to run autoconf ...
      f7f989c9
  11. 26 7月, 1998 4 次提交
    • M
      · 5979d738
      Marc G. Fournier 提交于
      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
    • M
      · 74b30a3a
      Marc G. Fournier 提交于
      I missed addding initdb.sh ...
      74b30a3a
    • B
      Update flowchart. Add arrow. · e05aa52a
      Bruce Momjian 提交于
      e05aa52a
    • B
      Fix compile error. Make transaction/work optional on all transaction · 01a651aa
      Bruce Momjian 提交于
      statements.  More cleanups of psql help.  Fix for shift/reduce on
      UNION in subselect.
      01a651aa
  12. 25 7月, 1998 4 次提交
  13. 24 7月, 1998 3 次提交
    • B
      Fix HAVING patch missing cast. · 809fc91f
      Bruce Momjian 提交于
      809fc91f
    • B
      I'm sorry, but I think I introduced a little bug with my last patch. · 128d827d
      Bruce Momjian 提交于
      Everyone using an [NOT] EXISTS subquery will have noticed that
      already.
      
      The bug is in "subselect.c" in the function "SS_process_sublinks()".
      
      Here the whole function as it *SHOULD BE*:
      
      Stephan
      128d827d
    • M
      · bf00bbb0
      Marc G. Fournier 提交于
      I really hope that I haven't missed anything in this one...
      
      From: t-ishii@sra.co.jp
      
      Attached are patches to enhance the multi-byte support.  (patches are
      against 7/18 snapshot)
      
      * determine encoding at initdb/createdb rather than compile time
      
      Now initdb/createdb has an option to specify the encoding. Also, I
      modified the syntax of CREATE DATABASE to accept encoding option. See
      README.mb for more details.
      
      For this purpose I have added new column "encoding" to pg_database.
      Also pg_attribute and pg_class are changed to catch up the
      modification to pg_database.  Actually I haved added pg_database_mb.h,
      pg_attribute_mb.h and pg_class_mb.h. These are used only when MB is
      enabled. The reason having separate files is I couldn't find a way to
      use ifdef or whatever in those files. I have to admit it looks
      ugly. No way.
      
      * support for PGCLIENTENCODING when issuing COPY command
      
      commands/copy.c modified.
      
      * support for SQL92 syntax "SET NAMES"
      
      See gram.y.
      
      * support for LATIN2-5
      * add UNICODE regression test case
      * new test suite for MB
      
      New directory test/mb added.
      
      * clean up source files
      
      Basic idea is to have MB's own subdirectory for easier maintenance.
      These are include/mb and backend/utils/mb.
      bf00bbb0