summaryrefslogtreecommitdiff
path: root/src/backend/utils/time
AgeCommit message (Collapse)Author
2001-01-24Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.Bruce Momjian
2000-08-31Fix relative path references so that make knowns which dependencies referPeter Eisentraut
to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
2000-07-03Add a check of HEAP_MARKED_FOR_UPDATE in HeapTupleSatisfiesDirty().Hiroshi Inoue
This enables unique constraint check in case of SELECT FOR UPDATEd.
2000-05-29Generated header files parse.h and fmgroids.h are now copied intoTom Lane
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
2000-01-26Add:Bruce Momjian
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
2000-01-17setheapoverride() is history. Uses replaced with CommandCounterIncrement()Tom Lane
where necessary --- several of them didn't really need it, though. tqual-checking macros simplified accordingly.
1999-12-13New LDOUT makefile variable for QNX os.Bruce Momjian
1999-12-10Added global variable to have RI triggers overrideJan Wieck
time qualification of HeapTupleSatisfiesSnapshot() Jan
1999-12-09Make LD -r as macros that can be changed for QNX.Bruce Momjian
1999-10-06XLOG (also known as WAL -:)) Bootstrap/Startup/Shutdown.Vadim B. Mikheev
First step in cleaning up backend initialization code. Fix for FATAL: now FATAL is ERROR + exit.
1999-07-15Remove unused #includes in *.c files.Bruce Momjian
1999-07-15Clean up #include in /include directory. Add scripts for checking includes.Bruce Momjian
1999-05-25pgindent run over code.Bruce Momjian
1999-04-12Fix HEAP_MOVED_IN handling in HeapTupleSatisfiesDirty().Vadim B. Mikheev
1999-04-05Fix HEAP_MOVED_OFF handling in HeapTupleSatisfiesDirtyVadim B. Mikheev
(may be used while vacuuming unique btree-s).
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-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1999-01-29READ COMMITTED isolevel is implemented and is default now.Vadim B. Mikheev
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-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-06-15Remove un-needed braces around single statements.Bruce Momjian
1998-04-24Inline some small functions called for every row.Bruce Momjian
1998-04-06Hi,Bruce Momjian
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
1998-02-26pgindent run before 6.3 release, with Thomas' requested changes.Bruce Momjian
1997-12-20Major cleanout of PORTNAME variables from Makefiles...bound to screw upMarc G. Fournier
some of the ports...
1997-12-19More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier
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 :)
1997-11-26Make parser functions static where possible.Bruce Momjian
1997-11-26Make parser functions static where possible.Bruce Momjian
1997-11-24Remove tqual.h includes not needed.Bruce Momjian
1997-11-20Remove all time travel stuff. Small parser cleanup.Bruce Momjian
1997-11-02Good Bye, Time Travel!Vadim B. Mikheev
1997-09-12heapattr functions now return a Datum, not char *.Bruce Momjian
1997-09-08Used modified version of indent that understands over 100 typedefs.Bruce Momjian
1997-09-08Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian
indenting. Also static variable indenting.
1997-09-07Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian
1997-08-29Fix very old bug which made tuples changed/inserted by a commndVadim B. Mikheev
visible to command itself (so we had multiple update of updated tuples, etc).
1997-08-19Make functions static where possible, enclose unused functions in #ifdef ↵Bruce Momjian
NOT_USED.
1997-03-28From: Dan McGuirk <[email protected]>Marc G. Fournier
Reply-To: [email protected], Dan McGuirk <[email protected]> To: [email protected] Subject: [HACKERS] tmin writeback optimization I was doing some profiling of the backend, and noticed that during a certain benchmark I was running somewhere between 30% and 75% of the backend's CPU time was being spent in calls to TransactionIdDidCommit() from HeapTupleSatisfiesNow() or HeapTupleSatisfiesItself() to determine that changed rows' transactions had in fact been committed even though the rows' tmin values had not yet been set. When a query looks at a given row, it needs to figure out whether the transaction that changed the row has been committed and hence it should pay attention to the row, or whether on the other hand the transaction is still in progress or has been aborted and hence the row should be ignored. If a tmin value is set, it is known definitively that the row's transaction has been committed. However, if tmin is not set, the transaction referred to in xmin must be looked up in pg_log, and this is what the backend was spending a lot of time doing during my benchmark. So, implementing a method suggested by Vadim, I created the following patch that, the first time a query finds a committed row whose tmin value is not set, sets it, and marks the buffer where the row is stored as dirty. (It works for tmax, too.) This doesn't result in the boost in real time performance I was hoping for, however it does decrease backend CPU usage by up to two-thirds in certain situations, so it could be rather beneficial in high-concurrency settings.
1996-11-09Makefile cleanup after reorganizationBruce Momjian
1996-10-27Simplify make files, add full dependencies.Bryan Henderson
1996-07-09Postgres95 1.01 Distribution - Virgin SourcesPG95-1_01Marc G. Fournier