summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1998-04-08Fix incorrect second argument type for dpow() declaration.Thomas G. Lockhart
1998-04-08Prepare the EXTRACT() clause for supporting TIMEZONE_HOURThomas G. Lockhart
and TIMEZONE_MINUTE but don't introduce until v6.4. Fix SET TIMEZONE LOCAL to pass null pointer rather than older "default" string. Fix handling of NULL pointer returns from FOREIGN KEY clauses which are currently ignored. Allow START as a table/column name.
1998-04-08Temporarily back out fixes for unary minus parsing.Thomas G. Lockhart
Will re-introduce for v6.4 but requires fixes for automatic type conversion beforehand.
1998-04-08Remove name.* files.Bruce Momjian
1998-04-08From: Bruce Stephens <bruce@cenderis.demon.co.uk>Marc G. Fournier
fix for the tk problem...
1998-04-07Re-add pg_dump fix.Bruce Momjian
1998-04-07Reverse out pg_dump changes.Bruce Momjian
1998-04-07Update configure.Bruce Momjian
1998-04-07Update for 6.3.2Bruce Momjian
1998-04-07Back out char2-char16 removal. Add later.Bruce Momjian
1998-04-07Fix for ACL's from Thomas A. Szybist.Bruce Momjian
1998-04-06Assert fixBruce Momjian
1998-04-06ASSERT fixes.Bruce Momjian
1998-04-06distclean cleanupBruce Momjian
1998-04-06DESTDIR removed, again.Bruce Momjian
1998-04-06destdir cleanup.Bruce Momjian
1998-04-06Makefile cleanup./Bruce Momjian
1998-04-06confiure cleanupBruce Momjian
1998-04-06Cleanup of compiler warnings.Bruce Momjian
1998-04-06Cleanup initdbBruce Momjian
1998-04-06cleanup and possible alpha-linux fix.Bruce Momjian
1998-04-06Make DESTDIR consistent, and verious Linux cleanups.Bruce Momjian
1998-04-06Re-introduce $DISTDIR.Bruce Momjian
1998-04-06Move initdb.sh to initdbBruce Momjian
1998-04-06Hi,Bruce Momjian
Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
1998-04-05Remove DISTDIR.Bruce Momjian
1998-04-05this patch solve 2 problemes :Bruce Momjian
probleme number 1 : - configure can find the library readline , but don't find the header file . so in this case we don't use lib readline . probleme number 2 : - when you have postgres 6.2.1 and readline installed with the same prefix( and generally all your software ) . you can compile the version 6.3 . I use this prefix , when configure ask me for "Additional directories to search for include files" . ( because there a conflict in the header when you compile psql.c ) In this case, you must permut the sequence of directive -I . Erwan MAS
1998-04-05configure cleanup.Bruce Momjian
1998-04-05Remove GetDatabaseName/Path and use globals. Make consts later.Bruce Momjian
1998-04-05confiugre.in cleanup.Bruce Momjian
1998-04-05Here are 3 patches (all relative to the src directory) to help withBruce Momjian
the configuration of v6.3.1. I have replaced the queries for include/lib directories with --with configuration options. I have also included a list of potential tcl/tk include directories directly in the CPPFLAGS variable. As new versions are needed, these should be added to the list in reverse numerical order (libraries are in a separate list near the end). This greatly simplifies the later checks if --with-tcl is set. I hope this solution works for everyone. I also added a check to disable the perl support if postgres was not already installed (as per the instructions in the directory). By the way, why must there be an installed pgsql to compile perl support? This seems odd, at best. Finally, I changed the Makefile in the libpgtcl interface to place the shared libraries at the end of the list of files, not at the beginning. With NetBSD at least, libraries are linked in order, so the original sequence does not work. Brook Milligan
1998-04-05Fix for memory leak.Bruce Momjian
1998-04-03A couple of weeks ago I submitted a patch to fix configure --with-tcl.Bruce Momjian
However somebody else also applied a patch to the same part of configure to fix a different problem. So part of my patch was not applied or got reversed or ... whatever. The attached patch will restore configure --with-tcl to working order and should remove a lot of the messages complaining about tcl not working. Alvin
1998-04-02Fix merging pathes of pruned rels ("indices are unused" problem).Vadim B. Mikheev
1998-04-01resync configureMarc G. Fournier
1998-04-01From: Maurice Gittens <mgittens@david.gits.nl>Marc G. Fournier
After applying the following patch there remain two probable buffer overruns detected by Electric Fence during the regression test. I'll try find out what causes the remain two ones. This patch also corrects a typo in smgr.c.
1998-04-01remove the call to port-protos.h ...Marc G. Fournier
1998-03-31Small HAVING cleanup.Bruce Momjian
1998-03-31Fix macro read violation for Maurice.Bruce Momjian
1998-03-31Merge rename name page into alter table. Fix UNION with DISTINCTBruce Momjian
or ORDER BY bug.
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