summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-03-31Pointed out by: Doug Winterburn <dlw@seavme.xroads.com>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.
1998-03-31Pointed out by: Doug Winterburn <dlw@seavme.xroads.com>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.
1998-03-30documentation for HAVING, clean up UNION comment.Bruce Momjian
1998-03-30This simple patch to catalog/pg_type.c fixes a buffer overrun. ItBruce 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
1998-03-30This problem had nothing to do with the upgrades I made. ThereBruce 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>
1998-03-30The following uuencoded, gzip'd file will ...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
1998-03-30The buffer overrun while creating sequences turns out to be a readBruce 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
1998-03-30There's a patch attached to fix gcc 2.8.x warnings, except for theBruce 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
1998-03-30I started adding the Having Clause and it works quite fine forBruce 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
1998-03-29Upgrade to v0.86Marc G. Fournier
1998-03-28Prevent pgindent from being run on odbc in the future.Bruce Momjian
1998-03-26I have been troubled by a segmentation fault when reloading fromBruce Momjian
a dumpall. This has been happening when a second \connect is encountered. The faulty code was in fe-connect.c, where the memory for the user password was freed, but the pointer itself was not set to NULL. Later, the memory was reused and the password appeared not to be empty, so that an attempt was made to reference it. Oliver Elphick
1998-03-26BETWEEN and LIKE patch from ThomasBruce Momjian
1998-03-26Update manualBruce Momjian
1998-03-25Mention rollback instead of abort.Bruce Momjian
1998-03-23update for 6.3.1Bruce Momjian
1998-03-23Manual page fixes.Bruce Momjian
1998-03-23autoconf again.Bruce Momjian
1998-03-23more tcl/tk fixesBruce Momjian
1998-03-23Another tcl/tk fix.Bruce Momjian
1998-03-23oops, forgot to run autoconf.Bruce Momjian
1998-03-23another tcl/tk patchBruce Momjian
another tcl/tk patch
1998-03-23 fix for tcl/tk in configureBruce Momjian
1998-03-22Add NetBSD specific expected filesMarc G. Fournier
1998-03-22Slightly updated regression output for FreeBSD 3.0-CURRENTMarc G. Fournier
1998-03-22Made some changes to clean up how initdb works...just more made a 'PGSQL_OPTS'Marc G. Fournier
variable that can be set in one place to affect everything...
1998-03-22Change 2>$1 to -o /dev/null instead...Marc G. Fournier
From: Andreas Klemm <andreas@klemm.gtn.com>
1998-03-22Moved sys/types.h to before netdb.hMarc G. Fournier
From: Vince Vielhaber <vev@michvhf.com>
1998-03-21Better identify tcl and tk.Bruce Momjian
1998-03-20This patch fixes a couple of minor bugs:Bruce Momjian
1) DatabaseMetaData.getPrimaryKeys() would fail saying that there is no table t. 2) PreparedStatement.getObject() was missing some break statements, which was causing updates not to work with JBuilder (supplied by Aaron Dunlop). jdbc fixes from Peter.
1998-03-20Disable -lbsd on alpha.Bruce Momjian
1998-03-20Add missing file.Bruce Momjian
1998-03-20OK...here is a patch that will cause the magnetic disk storageBruce Momjian
manager to not try to split files in 2 gig chunks. It will just try to get another block. If applied, everything is just as before. But if LET_OS_MANAGE_FILESIZE is defined, the chaining disappears and the file just keeps on going, and going, and going, til the OS barfs. Darren King
1998-03-20Sorry. I made above mistakes. "__svr4" should be "__svr4__" orBruce Momjian
"__SVR4" as you pointed out. There is another file that has the same mistakes. Included is a patche for include/c.h. t-ishii@sra.co.jp
1998-03-20Fix spelling of "includingBruce Momjian
Edward J. Huff
1998-03-20HPUX build does not build shared lib versions of libpq and libpq++Bruce Momjian
-------------------------------------------------------------------------- Test Case: ---------- -------------------------------------------------------------------------- Solution: --------- Add this to the libpq and libpq++ Makefiles to build shared libs: Mike Ferrara
1998-03-20In libpq-fe.h: #if defined(sun) && defined(sparc) && !defined(__svr4)Bruce Momjian
extern char *sys_errlist[]; #define strerror(A) (sys_errlist[(A)]) #endif /* sunos4 */ is picked up by Solaris when the above is intended only for SunOS. Fix Solaris. Albert Chin-A-Young
1998-03-20The real trick is to add -Dalpha to the CFLAGS setting. The changesBruce Momjian
to main.c are only to add some extra includes to support some code that's suddenly being used. The #define ASSEMBLER is to prevent most of the code of sys/proc.h from being included, as it ends up conflicting with some of the postgresql definitions. This may or may not work on other versions of Digital Unix. Get alpha working. Yea. Dwayne Bailey
1998-03-20> > I'm using text[] arrays. Some of my array elements have '"'Bruce Momjian
> > characters in them. Dumping and reloading using pg_dumpall > > doesn't work with this and dumping the entire array and > > then trying to parse it is hopeless. Doug Gibson
1998-03-20Here's my next patch to bring ecpg to version 1.1. It now correctlyBruce Momjian
handles all transaction commands and the exec sql include command. Michael Meskes
1998-03-18Allow parsing expressions with ") -" (scan.l, scan.c only).Thomas G. Lockhart
Make "TABLE" optional in "LOCK TABLE" command and "... INTO TABLE..." clause. Explicitly parse CREATE SEQUENCE options to allow a negative integer as an argument; this is an artifact of unary minus handling in scan.l. Add "PASSWORD" as an allowed column identifier. These fixes will require a "make clean install" but not a dump/reload.
1998-03-18Add checks for UNION target fields, and add optional TABLE to LOCKBruce Momjian
and SELECT manual pages and psql help.
1998-03-16SunOS .similar cleanup.Bruce Momjian
1998-03-16Add SunOS entries.Bruce Momjian
1998-03-16Prevent \do from wrapping.Bruce Momjian
1998-03-16Make pg_user /xpg_user change complete.Bruce Momjian
1998-03-16Remove duplicatesBruce Momjian
1998-03-16Fix for Datasize = 0 error, from Vadim.Bruce Momjian
1998-03-16Fix for pg_dump of large objects, from alvin@camberlo.demon.co.uk.Bruce Momjian
1998-03-16subselect notes from Vadim.Bruce Momjian