1. 10 8月, 1998 1 次提交
  2. 09 8月, 1998 3 次提交
    • B
      New pgindent. · a08dc16c
      Bruce Momjian 提交于
      a08dc16c
    • B
      cleanups. · 111b80ce
      Bruce Momjian 提交于
      111b80ce
    • B
      · e6311b4a
      Bruce Momjian 提交于
      The attached patch implements some changes that were discussed a
      couple weeks ago on the hackers and interfaces lists:
      
      1. When the backend sends a NOTICE message and closes the connection
         (typically, because it was told to by the postmaster after
         another backend coredumped), libpq will now print the notice
         and close the connection cleanly.  Formerly, the frontend app
         would usually terminate ungracefully due to a SIGPIPE.  (I am
         not sure if 6.3.2 behaved that way, but the current cvs sources
         do...)
      
      2. libpq's various printouts to stderr are now fed through a single
         "notice processor" routine, which can be overridden by the
         application to direct notices someplace else.  This should ease
         porting libpq to Windows.
      
      I also noticed and fixed a problem in PQprint: when sending output
      to a pager subprocess, it would disable SIGPIPE in case the pager
      terminates early (this is good) --- but afterwards it reset SIGPIPE
      to SIG_DFL, rather than restoring the application's prior setting
      (bad).
      
      			regards, tom lane
      e6311b4a
  3. 07 8月, 1998 1 次提交
  4. 06 8月, 1998 4 次提交
  5. 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
  6. 04 8月, 1998 4 次提交
  7. 03 8月, 1998 2 次提交
  8. 02 8月, 1998 8 次提交
  9. 01 8月, 1998 1 次提交
  10. 31 7月, 1998 1 次提交
  11. 30 7月, 1998 1 次提交
  12. 29 7月, 1998 8 次提交