summaryrefslogtreecommitdiff
path: root/src/backend/storage/buffer
Commit message (Collapse)AuthorAgeFilesLines
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-136-19/+19
|
* Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian1999-02-032-6/+4
|
* Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.Bruce Momjian1999-02-021-5/+5
|
* Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane1999-01-171-3/+2
| | | | to ensure that config.h is included as well.
* Long awaited port for NetBSD/m68k was finally done by Mr. MutsukiBruce Momjian1998-12-261-1/+20
| | | | | | | | | | Nakajima. Since he is not subscribing the mailing list, I'm posting his patches by his request. According to him, he has successfully compiled and passed the regression test on Mac SE/30 running NetBSD/m68k. Also, another person has reported that with the patches PostgreSQL is working on NetBSD/sun3 too. -- Tatsuo Ishii
* I have ported PostgreSQL 6.4 to Cobalt Qube running Linux 2.0.33 withBruce Momjian1998-12-181-2/+23
| | | | | | | MIPS cpu (I think it's R4000). I have tested the patches on LinuxPPC and FreeBSD. I believe they do not harm other platforms. -- Tatsuo Ishii
* Initial MVCC code.Vadim B. Mikheev1998-12-153-27/+168
| | | | New code for locking buffer' context.
* Make functions static or ifdef NOT_USED. Prevent pg_version creation.Bruce Momjian1998-10-081-2/+5
|
* NS32K lock patch reversed.Bruce Momjian1998-09-181-12/+1
|
* Fix for NS32K machine.Bruce Momjian1998-09-181-1/+12
|
* O2. Seems tas() for PPC (storage/buffer/s_lock.c) never works ifBruce Momjian1998-09-031-13/+16
| | | | | | | | | | compiled with -O0. Included are patches that should fix the problem (of course I have confirmed -O2 works with this patch). BTW, here is a platforms/regression test failure(serious one--backend death) matrix. Tatsuo Ishii
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-014-43/+45
|
* Renaming cleanup, no pgindent yet.Bruce Momjian1998-09-013-55/+55
|
* heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian1998-08-192-20/+20
| | | | | | | | | | | | | no longer returns buffer pointer, can be gotten from scan; descriptor; bootstrap can create multi-key indexes; pg_procname index now is multi-key index; oidint2, oidint4, oidname are gone (must be removed from regression tests); use System Cache rather than sequential scan in many places; heap_modifytuple no longer takes buffer parameter; remove unused buffer parameter in a few other functions; oid8 is not index-able; remove some use of single-character variable names; cleanup Buffer variables usage and scan descriptor looping; cleaned up allocation and freeing of tuples; 18k lines of diff;
* Lmgr cleanup, new locking modes for LLL.Vadim B. Mikheev1998-08-011-6/+6
|
* Inline function, rename libpq variablees, change lrel to lockrel.Bruce Momjian1998-07-131-4/+4
|
* Rename shared memory area.Bruce Momjian1998-06-301-2/+2
|
* Rename BindingTable to ShmemIndex.Bruce Momjian1998-06-271-5/+5
|
* Here is the long awaited optimized version of the S_LOCK patch.Bruce Momjian1998-06-162-177/+60
| | | | | | | | | | | | | | This incorporates all the precedeing patches and emailed suggestions and the results of the performance testing I posted last week. I would like to get this tested on as many platforms as possible so I can verify it went in correctly (as opposed to the horrorshow last time I sent in a patch). Once this is confirmed, I will make a tarball of files that can be dropped into a 6.3.2 source tree as a few people have asked for this in 6.3.2 as well. David Gould
* Remove un-needed braces around single statements.Bruce Momjian1998-06-153-29/+3
|
* Fix macros that were not properly surrounded by parens or braces.Bruce Momjian1998-06-151-7/+11
|
* Missed the __alpha__ to __alpha change...Marc G. Fournier1998-05-041-3/+3
| | | | From: David Gould <dg@illustra.com>
* Okay...this should fix the s_lock() patches from David to what heMarc G. Fournier1998-05-042-2/+2
| | | | | | currently has... From: David Gould <dg@illustra.com>
* Major screwed up s_lock patches...need to be fixed...Marc G. Fournier1998-05-042-46/+319
|
* From: Jeroen van Vianen <jeroenv@design.nl>Marc G. Fournier1998-04-291-2/+6
| | | | | | | | | | Attached patch will add a version() function to Postges, e.g. template1=> select version(); version ------------------------------------------------------------ PostgreSQL 6.3.2 on i586-pc-linux-gnu, compiled by gcc 2.8.1 (1 row)
* From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>Marc G. Fournier1998-04-271-2/+2
| | | | | | | | | | Ok, I have finally gotten all of the defines for Dec/Alpha and Linux/Alpha sorted out as Marc asked. There is no longer any need for '-Dalpha' or '-Dlinuxalpha' in either the Dec/Alpha or the Linux/Alpha template files (./src/template/{alpha,linuxalpha}). I have replaced every instance of 'alpha' or '__alpha__' with '__alpha', as that appears to be the common symbol between C compilers on both operating systems (RH4.2 & DecUnix 4.0b) for alpha.
* Inline some small functions called for every row.Bruce Momjian1998-04-241-55/+1
|
* Hi,Bruce Momjian1998-04-061-5/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* Remove GetDatabaseName/Path and use globals. Make consts later.Bruce Momjian1998-04-051-2/+2
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-263-42/+45
|
* Goodbye register keyword. Compiler knows better.Bruce Momjian1998-02-111-7/+7
|
* From: Peter T Mount <patches@maidast.demon.co.uk>Marc G. Fournier1998-02-021-1/+3
| | | | | | | | | | | | | | | | [This is a repost - it supercedes the previous one. It fixes the patch so it doesn't bread aix port, plus there's a file missing out of the original post because difforig doesn't pick up new files. It's now attached. peter] This patch brings the JDBC driver up to the current protocol spec. Basically, the backend now tells the driver what authentication scheme to use. The patch also fixes a performance problem with large objects. In the buffer manager, each fastpath call was sending multiple Notifications to the backend (sometimes more data in the form of notifications were being sent than blob data!).
* getpid/pid cleanupBruce Momjian1998-01-251-6/+2
|
* Some *very* major changes by darrenk@insightdist.com (Darren King)Marc G. Fournier1998-01-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ========================================== What follows is a set of diffs that cleans up the usage of BLCKSZ. As a side effect, the person compiling the code can change the value of BLCKSZ _at_their_own_risk_. By that, I mean that I've tried it here at 4096 and 16384 with no ill-effects. A value of 4096 _shouldn't_ affect much as far as the kernel/file system goes, but making it bigger than 8192 can have severe consequences if you don't know what you're doing. 16394 worked for me, _BUT_ when I went to 32768 and did an initdb, the SCSI driver broke and the partition that I was running under went to hell in a hand basket. Had to reboot and do a good bit of fsck'ing to fix things up. The patch can be safely applied though. Just leave BLCKSZ = 8192 and everything is as before. It basically only cleans up all of the references to BLCKSZ in the code. If this patch is applied, a comment in the config.h file though above the BLCKSZ define with warning about monkeying around with it would be a good idea. Darren darrenk@insightdist.com (Also cleans up some of the #includes in files referencing BLCKSZ.) ==========================================
* Goodbye ABORT. Hello ERROR for all errors.Bruce Momjian1998-01-075-17/+17
|
* Wrap the function in and #ifdef, not the header filesMarc G. Fournier1998-01-071-3/+2
| | | | Should fix an AIX compiler problem
* Change elog(WARN) to elog(ERROR) and elog(ABORT).Bruce Momjian1998-01-055-17/+17
|
* Oops, missed adding a fileMarc G. Fournier1997-12-301-0/+65
| | | | From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
* bring in alpha/linux s_lock changesMarc G. Fournier1997-12-301-3/+2
| | | | From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
* Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier1997-12-201-5/+1
| | | | some of the ports...
* More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier1997-12-191-4/+6
| | | | | | | | | Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :)
* Remove archive stuff.Bruce Momjian1997-11-212-18/+15
|
* Good Bye, Time Travel!Vadim B. Mikheev1997-11-021-4/+2
|
* Debug stuff added to BlowawayRelationBuffers().Vadim B. Mikheev1997-10-221-1/+16
|
* Decrement relation reference count incremented inVadim B. Mikheev1997-10-122-12/+13
| | | | | RelationIdCacheGetRelation() to flush relations from cache in commit time.
* Blowaway relation buffers from buffer pool before truncation:Vadim B. Mikheev1997-09-221-1/+65
| | | | + BlowawayRelationBuffers(relation, blocknumber)
* Inline memset() as MemSet().Bruce Momjian1997-09-183-10/+10
|
* Inline frequently called functions.Bruce Momjian1997-09-182-2/+4
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-083-9/+9
|
* Add typdefs to pgindent run.Bruce Momjian1997-09-083-19/+19
|