Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move some system includes into c.h, and remove duplicates. | Bruce Momjian | 1999-07-17 |
| | |||
* | Final cleanup. | Bruce Momjian | 1999-07-16 |
| | |||
* | Update #include cleanups | Bruce Momjian | 1999-07-16 |
| | |||
* | Remove unused #includes in *.c files. | Bruce Momjian | 1999-07-15 |
| | |||
* | Clean up #include in /include directory. Add scripts for checking includes. | Bruce Momjian | 1999-07-15 |
| | |||
* | Avoid disk writes for read-only transactions. | Vadim B. Mikheev | 1999-06-29 |
| | |||
* | Removed bad Assert(!buf->ri_lock) when unlocking exclusively | Vadim B. Mikheev | 1999-06-11 |
| | | | | locked buffer. | ||
* | 1. Fix for elog(ERROR, "EvalPlanQual: t_xmin is uncommitted ?!") | Vadim B. Mikheev | 1999-06-10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||
* | Missing semicolons in non-HAS_TEST_AND_SET code paths :-( | Tom Lane | 1999-05-29 |
| | |||
* | pgindent run over code. | Bruce Momjian | 1999-05-25 |
| | |||
* | Change error messages to oids come out as %u and not %d. Change has no | Bruce Momjian | 1999-05-10 |
| | | | | real affect now. | ||
* | 1. Vacuum is updated for MVCC. | Vadim B. Mikheev | 1999-03-28 |
| | | | | | | | 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. | ||
* | From: Tatsuo Ishii <t-ishii@sra.co.jp> | Marc G. Fournier | 1999-02-21 |
| | | | | | | Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef NOT_USED" for current. I have tested these patches in that the postgres binaries are identical. | ||
* | Change my-function-name-- to my_function_name, and optimizer renames. | Bruce Momjian | 1999-02-13 |
| | |||
* | Cleanup of source files where 'return' or 'var =' is alone on a line. | Bruce Momjian | 1999-02-03 |
| | |||
* | Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. | Bruce Momjian | 1999-02-02 |
| | |||
* | Initial MVCC code. | Vadim B. Mikheev | 1998-12-15 |
| | | | | New code for locking buffer' context. | ||
* | Make functions static or ifdef NOT_USED. Prevent pg_version creation. | Bruce Momjian | 1998-10-08 |
| | |||
* | OK, folks, here is the pgindent output. | Bruce Momjian | 1998-09-01 |
| | |||
* | Renaming cleanup, no pgindent yet. | Bruce Momjian | 1998-09-01 |
| | |||
* | heap_fetch requires buffer pointer, must be released; heap_getnext | Bruce Momjian | 1998-08-19 |
| | | | | | | | | | | | | | 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. Mikheev | 1998-08-01 |
| | |||
* | Inline function, rename libpq variablees, change lrel to lockrel. | Bruce Momjian | 1998-07-13 |
| | |||
* | Remove un-needed braces around single statements. | Bruce Momjian | 1998-06-15 |
| | |||
* | Inline some small functions called for every row. | Bruce Momjian | 1998-04-24 |
| | |||
* | Remove GetDatabaseName/Path and use globals. Make consts later. | Bruce Momjian | 1998-04-05 |
| | |||
* | pgindent run before 6.3 release, with Thomas' requested changes. | Bruce Momjian | 1998-02-26 |
| | |||
* | Goodbye register keyword. Compiler knows better. | Bruce Momjian | 1998-02-11 |
| | |||
* | From: Peter T Mount <patches@maidast.demon.co.uk> | Marc G. Fournier | 1998-02-02 |
| | | | | | | | | | | | | | | | | [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 cleanup | Bruce Momjian | 1998-01-25 |
| | |||
* | Goodbye ABORT. Hello ERROR for all errors. | Bruce Momjian | 1998-01-07 |
| | |||
* | Change elog(WARN) to elog(ERROR) and elog(ABORT). | Bruce Momjian | 1998-01-05 |
| | |||
* | Remove archive stuff. | Bruce Momjian | 1997-11-21 |
| | |||
* | Debug stuff added to BlowawayRelationBuffers(). | Vadim B. Mikheev | 1997-10-22 |
| | |||
* | Decrement relation reference count incremented in | Vadim B. Mikheev | 1997-10-12 |
| | | | | | RelationIdCacheGetRelation() to flush relations from cache in commit time. | ||
* | Blowaway relation buffers from buffer pool before truncation: | Vadim B. Mikheev | 1997-09-22 |
| | | | | + BlowawayRelationBuffers(relation, blocknumber) | ||
* | Inline memset() as MemSet(). | Bruce Momjian | 1997-09-18 |
| | |||
* | Inline frequently called functions. | Bruce Momjian | 1997-09-18 |
| | |||
* | Used modified version of indent that understands over 100 typedefs. | Bruce Momjian | 1997-09-08 |
| | |||
* | Add typdefs to pgindent run. | Bruce Momjian | 1997-09-08 |
| | |||
* | Another PGINDENT run that changes variable indenting and case label ↵ | Bruce Momjian | 1997-09-08 |
| | | | | indenting. Also static variable indenting. | ||
* | Massive commit to run PGINDENT on all *.c and *.h files. | Bruce Momjian | 1997-09-07 |
| | |||
* | Make functions static where possible, enclose unused functions in #ifdef ↵ | Bruce Momjian | 1997-08-19 |
| | | | | NOT_USED. | ||
* | Now that names are null terminated, no need to do all that NAMEDATALEN stuff. | Bruce Momjian | 1997-08-18 |
| | |||
* | Reduce open() calls. Replace fopen() calls with calls to fd.c functions. | Bruce Momjian | 1997-08-18 |
| | |||
* | Remove more (void) and fix -Wall warnings. | Bruce Momjian | 1997-08-12 |
| | |||
* | Added SCO support, from Daniel Harris. | Bruce Momjian | 1997-07-28 |
| | |||
* | Various compile errors concerning overflow due to shifts, unsigned, and bad ↵ | Bruce Momjian | 1997-07-24 |
| | | | | prototypes, from Solaris, from Diab Jerius | ||
* | CommitInfoNeedsSave[buffer - 1] = 0 | Vadim B. Mikheev | 1997-04-18 |
| | | | | added to WriteBuffer(), FlushBuffer(), WriteNoReleaseBuffer(). | ||
* | PrintBufferUsage() changed to report about shared, local and direct | Vadim B. Mikheev | 1997-04-18 |
| | | | | blocks transfferes. |