summaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
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-07Back out char2-char16 removal. Add later.Bruce Momjian
1998-04-06ASSERT fixes.Bruce Momjian
1998-04-06DESTDIR removed, again.Bruce Momjian
1998-04-06Cleanup of compiler warnings.Bruce Momjian
1998-04-06Make DESTDIR consistent, and verious Linux cleanups.Bruce 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 GetDatabaseName/Path and use globals. Make consts later.Bruce Momjian
1998-04-05Fix for memory leak.Bruce Momjian
1998-04-02Fix merging pathes of pruned rels ("indices are unused" problem).Vadim B. Mikheev
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-31Merge rename name page into alter table. Fix UNION with DISTINCTBruce Momjian
or ORDER BY bug.
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-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-26BETWEEN and LIKE patch from ThomasBruce 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-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-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-16Fix for Datasize = 0 error, from Vadim.Bruce Momjian
1998-03-16subselect notes from Vadim.Bruce Momjian
1998-03-15From: hankin <hankin@consultco.com>Marc G. Fournier
a while back I posted a patch for pg_ident, the patch worked but I didn't diagnose the problem properly. on my compiler(gcc2.7.2) this compiles with no errors... char buf[1000]; if(buf != '\0') { ...but it doesn't compare '\0' with the first char of buf.
1998-03-15From: t-ishii@sra.co.jpMarc G. Fournier
6.3 postmaster is supposed to work with pre 6.3 protocol. This is true for little endian architecture servers. But for big endian machines such as Sparc the backward compatibility function do not work. Attached are patches to fix the problem.
1998-03-15From: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>Marc G. Fournier
For substr() and substring() on the text data type, the relevant code is in varlena.c. You are right, there is a problem. I have a patch which I will apply to the source tree soon. The copy enclosed below probably does not preserve tabs correctly so cannot be applied directly; the relevant change is simply changing the ">=" to ">"...
1998-03-15From: t-ishii@sra.co.jpMarc G. Fournier
Included are patches intended for allowing PostgreSQL to handle multi-byte charachter sets such as EUC(Extende Unix Code), Unicode and Mule internal code. With the MB patch you can use multi-byte character sets in regexp and LIKE. The encoding system chosen is determined at the compile time. To enable the MB extension, you need to define a variable "MB" in Makefile.global or in Makefile.custom. For further information please take a look at README.mb under doc directory. (Note that unlike "jp patch" I do not use modified GNU regexp any more. I changed Henry Spencer's regexp coming with PostgreSQL.)
1998-03-14Remove postgres95.Bruce Momjian
1998-03-10Get the ultrix4 ports back in sync...Marc G. Fournier
1998-03-07Repair "LIKE" behavior with two adjacent wildcard characters ("_").Thomas G. Lockhart
Was ignoring second wildcard.
1998-03-07Add one-line fix to allow redefining built-in functions.Thomas G. Lockhart
Bug introduced in mid-January.
1998-03-06pg_user cleanup.Bruce Momjian
1998-03-02Last minute clean up for SunOS...Marc G. Fournier
From: t-ishii@sra.co.jp
1998-03-02Fix money type USE_LOCALE support at least for default "C" locale.Thomas G. Lockhart
Still has questionable code for some locale-specific strings.
1998-03-01From: "Billy G. Allie" <Bill.Allie@mug.org>Marc G. Fournier
The following patch will change the meaning of the isinf function in the HAVE_FPCLASS section from "not finite" to "is infinity".
1998-03-01From: "Billy G. Allie" <Bill.Allie@mug.org>Marc G. Fournier
The following patches will allow postgreSQL 6.3 to compile and run on a UNIXWARE 2.1.2 system with the native C compiler with the following library change: The alloca function must be copied from the libucb.a archive and added to the libgen.a archive. Also, the GNU flex program is needed to successfully build postgreSQL.
1998-02-28Fix scan adjusting for marked index tuples.Vadim B. Mikheev
1998-02-27From: Darren King <darrenk@insightdist.com>Marc G. Fournier
Two incorrect printf formats in parser/parse_type.c. Prolly done by me a long time ago when I cleaned up int's and Oid's... Format flag is really just %u, not %ud. Harmless, but results in "type id lookup of 25d failed" instead of only "...25 failed"
1998-02-27ExecReScan for MergeJoin.Vadim B. Mikheev
Marked inner tuple now is copied into mergestate->mj_MarkedTupleSlot - no more tricks arround ttc_shouldfree.
1998-02-27In '(a,b,...) Op [ANY|ALL] (SubSelect)' Op is restricted toVadim B. Mikheev
'=' and '<>'.
1998-02-27Check SELECT permissions in subqueries.Vadim B. Mikheev
1998-02-27From: Darren King <darrenk@insightdist.com>Marc G. Fournier
This patch will... 1. Remove the "-Wall" option from the ecpg/lib and ecpg/preproc Makefile. 2. Remove the addition of $(SRCDIR)/include and-or $(SRCDIR)/backend from ecpg/lib, ecpg/preproc, libpq and utils Makefiles. Already in CFLAGS... 3. Set MK_NO_LORDER and RANLIB in Makefile.aix to avoid a couple of extra steps taken care of by the 'ld' command anyways.
1998-02-26execScan.c: in the end of scan projInfo->pi_slot must beVadim B. Mikheev
return, not a slot returned from access method (they have different TupleDesc and MergeJoin node was broken). nodeIndexscan.c: index_markpos()/index_restrpos() call index-specific mark/restr funcs and are in use now (instead of IndexScanMarkPosition()/ExecIndexRestrPos()).
1998-02-26index_markpos()/index_restrpos are used now.Vadim B. Mikheev