summaryrefslogtreecommitdiff
path: root/src/include/access/transam.h
Commit message (Collapse)AuthorAgeFilesLines
* Add:Bruce Momjian2000-01-261-2/+3
| | | | | | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
* Change #include's to use <> and "" as appropriate.Bruce Momjian1999-07-151-2/+2
|
* 1. Fix for elog(ERROR, "EvalPlanQual: t_xmin is uncommitted ?!")Vadim B. Mikheev1999-06-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Another pgindent run. Sorry folks.Bruce Momjian1999-05-251-2/+2
|
* pgindent run over code.Bruce Momjian1999-05-251-2/+2
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-2/+2
|
* SET TRANSACTION ISOLATION LEVEL ...Vadim B. Mikheev1998-12-181-1/+2
| | | | | LOCK TABLE IN ... MODE ...implemented
* Serialized mode works!Vadim B. Mikheev1998-12-161-1/+2
|
* OK, folks, here is the pgindent output.Bruce Momjian1998-09-011-14/+11
|
* VariableCache (next XID generator) is placed in shmem.Vadim B. Mikheev1998-07-211-1/+19
|
* pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian1998-02-261-12/+15
|
* Fix prototypes so they don't look like function definitions.Bruce Momjian1998-01-241-7/+4
|
* Good Bye, Time Travel!Vadim B. Mikheev1997-11-021-45/+12
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-081-11/+11
|
* Add typdefs to pgindent run.Bruce Momjian1997-09-081-3/+3
|
* Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian1997-09-081-26/+26
| | | | indenting. Also static variable indenting.
* Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian1997-09-071-102/+110
|
* Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian1997-08-191-26/+1
| | | | NOT_USED.
* TransactionIdIsInProgress moved to shmem.cVadim B. Mikheev1996-11-271-2/+1
|
* All external function definitions now have prototypes that are checked.Bruce Momjian1996-11-101-3/+3
|
* Another one cleaned outMarc G. Fournier1996-11-051-3/+3
|
* Okay, following Bryan's (and others) suggestions...cleaning up theMarc G. Fournier1996-11-011-3/+2
| | | | include files properly...yet, slowly...
* Major code cleanups from D'arcy (-Wall -Werror)Marc G. Fournier1996-10-231-1/+5
|
* Moved from backend/access to include/accessMarc G. Fournier1996-08-271-0/+222