summaryrefslogtreecommitdiff
path: root/src/include/access
AgeCommit message (Collapse)Author
1999-08-08Fix nbtree's failure to clear BTScans list during xact abort.Tom Lane
Also, move responsibility for calling vc_abort into main xact.c list of things-to-call-at-abort. What in the world was it doing down inside of TransactionIdAbort()?
1999-07-19Install new alignment code to use MAXALIGN rather than DOUBLEALIGN whereBruce Momjian
approproate.
1999-07-16More cleanupBruce Momjian
1999-07-15Change #include's to use <> and "" as appropriate.Bruce Momjian
1999-07-15Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian
1999-07-14Cleanup of /include #include's, for 6.6 only.Bruce Momjian
1999-07-12readd include for safety.Bruce Momjian
1999-07-10heapam.h uses type time_t, but didn't include <time.h>.Tom Lane
1999-07-04Align cleanup.Bruce Momjian
1999-07-04More alignmentBruce Momjian
1999-07-04Clarify maximum tuple and max attribute lengths.Bruce Momjian
1999-07-03More cleanupBruce Momjian
1999-07-03Fix to prevent too large tuple from being created.Bruce Momjian
1999-06-101. Fix for elog(ERROR, "EvalPlanQual: t_xmin is uncommitted ?!")Vadim B. Mikheev
and possibly for other cases too: DO NOT cache status of transaction in unknown state (i.e. non-committed and non-aborted ones) Example: T1 reads row updated/inserted by running T2 and cache T2 status. T2 commits. Now T1 reads a row updated by T2 and with HEAP_XMAX_COMMITTED in t_infomask (so cached T2 status is not changed). Now T1 EvalPlanQual gets updated row version without HEAP_XMIN_COMMITTED -> TransactionIdDidCommit(t_xmin) and TransactionIdDidAbort(t_xmin) return FALSE and T2 decides that t_xmin is not committed and gets ERROR above. It's too late to find more smart way to handle such cases and so I just changed xact status caching and got rid TransactionIdFlushCache() from code. Changed: transam.c, xact.c, lmgr.c and transam.h - last three just because of TransactionIdFlushCache() is removed. 2. heapam.c: T1 marked a row for update. T2 waits for T1 commit/abort. T1 commits. T3 updates the row before T2 locks row page. Now T2 sees that new row t_xmax is different from xact id (T1) T2 was waiting for. Old code did Assert here. New one goes to HeapTupleSatisfiesUpdate. Obvious changes too. 3. Added Assert to vacuum.c 4. bufmgr.c: break Assert(buf->r_locks == 0 && !buf->ri_lock) into two Asserts.
1999-05-26Make functions static or NOT_USED as appropriate.Bruce Momjian
1999-05-25Another pgindent run. Sorry folks.Bruce Momjian
1999-05-25Make 0x007f -> (unsigned)0x7f to make pgindent happy.Bruce Momjian
1999-05-25Get rid of page-level locking in btree-s.Vadim B. Mikheev
BT_READ/BT_WRITE are BUFFER_LOCK_SHARE/BUFFER_LOCK_EXCLUSIVE now. Also get rid of #define BT_VERSION_1 - we use version 1 as default for near two years now.
1999-05-25pgindent run over code.Bruce Momjian
1999-04-15Declare hashint8().Thomas G. Lockhart
1999-03-281. Vacuum is updated for MVCC.Vadim B. Mikheev
2. Much faster btree tuples deletion in the case when first on page index tuple is deleted (no movement to the left page(s)). 3. Remember blkno of new root page in BTPageOpaque of left/right siblings when root page is splitted.
1999-03-25Clean up att_align calculations so that XXXALIGN macrosTom Lane
need not be bogus.
1999-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1999-01-27Another SELECT speedup: extract OIDs of column print functionsTom Lane
only once per SELECT, not once per tuple. 10% here, 10% there, pretty soon you're talking about real speedups ...
1999-01-24Replace typtoout() and gettypelem() with a single routine,Tom Lane
so that fetching an attribute value needs only one SearchSysCacheTuple call instead of two redundant searches. This speeds up a large SELECT by about ten percent, and probably will help GROUP BY and SELECT DISTINCT too.
1998-12-18SET TRANSACTION ISOLATION LEVEL ...Vadim B. Mikheev
LOCK TABLE IN ... MODE ...implemented
1998-12-16Serialized mode works!Vadim B. Mikheev
1998-12-15Initial MVCC code.Vadim B. Mikheev
New code for locking buffer' context.
1998-11-27New HeapTuple structure/interface.Vadim B. Mikheev
1998-10-08Make functions static or ifdef NOT_USED. Prevent pg_version creation.Bruce Momjian
1998-10-06Substantial rewrite of async.c to avoid problems with non-reentrant stdioTom Lane
and possibly other problems. Minor changes in xact.c and postgres.c's main loop to support new handling of async NOTIFY.
1998-10-04hash.h's use of BSHIFT conflicts with <sys/param.h> on myTom Lane
system. Finally got tired of looking at the compiler warning messages. BSHIFT isn't all that useful, so I just took out the macro.
1998-09-08Fix for macro for AIX.Bruce Momjian
1998-09-07Alignment cleanup so no more massive switch statements for alignment,Bruce Momjian
just two macros.
1998-09-01OK, folks, here is the pgindent output.Bruce Momjian
1998-09-01Renaming cleanup, no pgindent yet.Bruce Momjian
1998-08-19heap_fetch requires buffer pointer, must be released; heap_getnextBruce Momjian
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;
1998-08-11index strategy cleanupBruce Momjian
1998-07-30Fix scan adjustment.Vadim B. Mikheev
1998-07-27Use Snapshot in heap access methods.Vadim B. Mikheev
1998-07-21VariableCache (next XID generator) is placed in shmem.Vadim B. Mikheev
1998-07-12Change atttypmod from int16 to int32, for Thomas.Bruce Momjian
1998-06-15Fix macros that were not properly surrounded by parens or braces.Bruce Momjian
1998-06-14Make new DISABLE_COMPLEX_MACRO for compilers that can't handle ourBruce Momjian
macros.
1998-04-26Re-apply Darren's char2-16 removal code.Bruce Momjian
1998-04-24Inline some small functions called for every row.Bruce Momjian
1998-04-07Back out char2-char16 removal. Add later.Bruce Momjian
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-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-26index_markpos()/index_restrpos() are in use now.Vadim B. Mikheev