1. 31 3月, 1998 11 次提交
    • B
      Fix macro read violation for Maurice. · 9fbdda03
      Bruce Momjian 提交于
      9fbdda03
    • B
      Merge rename name page into alter table. Fix UNION with DISTINCT · d7050cb6
      Bruce Momjian 提交于
      or ORDER BY bug.
      d7050cb6
    • M
      Pointed out by: Doug Winterburn <dlw@seavme.xroads.com> · 62943bb7
      Marc G. Fournier 提交于
      3) Add "#include "config.h" to src/interfaces/ecpg/preproc/pgc.l
         to correct "strings.h not found".  config.h has the proper define to
         make this work and should probably be near the top of pgc.l before
         the first include.
      62943bb7
    • M
      Pointed out by: Doug Winterburn <dlw@seavme.xroads.com> · 92c6bf97
      Marc G. Fournier 提交于
      2) Add "#define gettimeofday(a,b) gettimeofday(a) to src/include/config.h
              On the 88k SVR4, gettimeofday only has one argument.  This is
              checked for in a few other packages by configure, so there should
              be some examples of the configure test out there.
      92c6bf97
    • B
      documentation for HAVING, clean up UNION comment. · 01ecb2e3
      Bruce Momjian 提交于
      01ecb2e3
    • B
      This simple patch to catalog/pg_type.c fixes a buffer overrun. It · ef0eecfa
      Bruce Momjian 提交于
      was detected by Electric Fence and triggered by statements like:
      
      	SELECT * into table t from pg_database;
      
      The system would crash on a memmove call in DataFile() with arguments
      like this:
      
      	memmove(0x0, 0x0, 0);
      
      Maurice Gittens
      ef0eecfa
    • B
      This problem had nothing to do with the upgrades I made. There · dbf34c5c
      Bruce Momjian 提交于
      was a 2000 character buffer allocated for results, and the files
      you refer to produce a 2765 byte column called formsource.  This
      should not have worked with any version of libpgtcl.
      
      Nevertheless, the limit is an artificial one, since there is no
      need to use this intermediate buffer where it is being used and
      abused.
      
      Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>
      dbf34c5c
    • B
      The following uuencoded, gzip'd file will ... · 57b59664
      Bruce Momjian 提交于
      1. Remove the char2, char4, char8 and char16 types from postgresql
      2. Change references of char16 to name in the regression tests.
      3. Rename the char16.sql regression test to name.sql.  4. Modify
      the regression test scripts and outputs to match up.
      
      Might require new regression.{SYSTEM} files...
      
      Darren King
      57b59664
    • B
      The buffer overrun while creating sequences turns out to be a read · 31c36102
      Bruce Momjian 提交于
      access overrun. For the sake of doing things properly here is a
      patch which fixes it.
      
      This patch is for the file backend/commands/sequence.c.
      
      Maurice Gittens
      31c36102
    • B
      There's a patch attached to fix gcc 2.8.x warnings, except for the · 9a0dd4fb
      Bruce Momjian 提交于
      yyerror ones from bison. It also includes a few 'enhancements' to
      the C programming style (which are, of course, personal).
      
      The other patch removes the compilation of backend/lib/qsort.c, as
      qsort() is a standard function in stdlib.h and can be used any
      where else (and it is). It was only used in
      backend/optimizer/geqo/geqo_pool.c, backend/optimizer/path/predmig.c,
      and backend/storage/page/bufpage.c
      
      > > Some or all of these changes might not be appropriate for v6.3,
      since we > > are in beta testing and since they do not affect the
      current functionality.  > > For those cases, how about submitting
      patches based on the final v6.3 > > release?
      
      There's more to come. Please review these patches. I ran the
      regression tests and they only failed where this was expected
      (random, geo, etc).
      
      Cheers,
      
      Jeroen
      9a0dd4fb
    • B
      I started adding the Having Clause and it works quite fine for · c579ce0f
      Bruce Momjian 提交于
      sequential scans! (I think it will also work with hash, index, etc
      but I did not check it out! I made some High level changes which
      should work for all access methods, but maybe I'm wrong. Please
      let me know.)
      
      Now it is possible to make queries like:
      
      select s.sname, max(p.pid), min(p.pid) from part p, supplier s
      where s.sid=p.sid group by s.sname having max(pid)=6 and min(pid)=1
      or avg(pid)=4;
      
      Having does not work yet for queries that contain a subselect
      statement in the Having clause, I'll try to fix this in the next
      days.
      
      If there are some bugs, please let me know, I'll start to read the
      mailinglists now!
      
      Now here is the patch against the original 6.3 version (no snapshot!!):
      
      Stefan
      c579ce0f
  2. 30 3月, 1998 1 次提交
  3. 28 3月, 1998 1 次提交
  4. 27 3月, 1998 3 次提交
  5. 25 3月, 1998 2 次提交
  6. 24 3月, 1998 2 次提交
  7. 23 3月, 1998 11 次提交
  8. 22 3月, 1998 3 次提交
  9. 21 3月, 1998 6 次提交