summaryrefslogtreecommitdiff
path: root/src/backend
AgeCommit message (Collapse)Author
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
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1998-02-25Fix 6.X vacuum bug in shrinking code.Vadim B. Mikheev
1998-02-25From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
1998-02-25pgindent changes for Thomas proc/lock cleanupBruce Momjian
1998-02-24Fix for locking problems an dpriority.Bruce Momjian
1998-02-24From: "Denis V. Dmitrienko" <denis@null.net>Marc G. Fournier
What it does: It solves stupid problem with cyrillic charsets IP-based on-fly recoding. take a look at /data/charset.conf for details. You can use any tables for any charset. Tables are from Russian Apache project. Tables in this patch contains also Ukrainian characters. Then run ./configure --enable-recode
1998-02-24From: t-ishii@sra.co.jpMarc G. Fournier
Ok. I have decided to use: #if defined(sun) && if defined(sparc) && !defined(__svr4) instead of defined(sunos4). interfaces/libpq/libpq-fe.h and include/c.h have been modified(see included patches). Another porblems I have found are: o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD and place it under backend/port. necessary modifications have been also made to backend/port/Makefile.in, include/config.h.in and configure.in (see included patches).
1998-02-24Various fixes for string.h vs strings.hMarc G. Fournier
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24Remove #include "port-protos.h", since we no longer use itMarc G. Fournier
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24There is no more 'port-protos.h', so don't try to include itMarc G. Fournier
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24Forgot about the svr4 dynloader stuffMarc G. Fournier
From: Frank Ridderbusch <ridderbusch.pad@sni.de>
1998-02-24From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
So if the relname is given to acldefault() in utils/adt/acl.c, it can do a IsSystemRelationName() on it and return ACL_RD instead of ACL_WORLD_DEFAULT.
1998-02-23Quick cleanupsMarc G. Fournier
1998-02-23From: Jan Wieck <jwieck@debis.com>Marc G. Fournier
The diff looks so simple and easy. But to find it wasn't fun. It must have been there for a long time. What happened: When a tuple in one of some central catalogs was updated, the referenced relation got flushed, so it would be reopened on the next access (to reflect new triggers, rules and table structure changes into the relation cache). Some data (the tupleDescriptor e.g.) is used in the system cache too. So when a relation is subject to the system cache, this must know too that a cached system relation got flushed because the tupleDesc data gets freed during the flush! For the GRANT/REVOKE on pg_class it was slightly different. There is some local data in inval.c that gets initialized on the first invalidation of a tuple in some central catalogs. This needs a SysCache lookup in pg_class. But when the first of all commands is a GRANT on pg_class, exactly the needed tuple is the one actually invalidated. So I added little code snippets that the initialization of the local variables in inval.c will already happen during InitPostgres().
1998-02-23Remove libpq README.Bruce Momjian
1998-02-23Fix relation path constraction in mdblindwrt().Vadim B. Mikheev
1998-02-23Remind people of view permissions, and install libpq README.Bruce Momjian
1998-02-23ExecReScan for Unique & Sort nodes.Vadim B. Mikheev
1998-02-23Partial fix for select distinct in subselect.Bruce Momjian
1998-02-21Change:Marc G. Fournier
#define TAPETEMP "pg_btsortXXXXXX" to: #define TAPETEMP "pg_btsortXXXXXXX" For some reason, under FreeBSD, it appears that the mktemp() value needs the extra 'X' to improve/ensure uniqueness
1998-02-21Add handling for new RangeTblEntry column name.Bruce Momjian
1998-02-21Constlen can be -1, so make it a signed type.Bruce Momjian