Tom Lane
bc7d37a525
Transaction IDs wrap around, per my proposal of 13-Aug-01. More
...
documentation to come, but the code is all here. initdb forced.
2001-08-26 16:56:03 +00:00
Tom Lane
2589735da0
Replace implementation of pg_log as a relation accessed through the
...
buffer manager with 'pg_clog', a specialized access method modeled
on pg_xlog. This simplifies startup (don't need to play games to
open pg_log; among other things, OverrideTransactionSystem goes away),
should improve performance a little, and opens the door to recycling
commit log space by removing no-longer-needed segments of the commit
log. Actual recycling is not there yet, but I felt I should commit
this part separately since it'd still be useful if we chose not to
do transaction ID wraparound.
2001-08-25 18:52:43 +00:00
Tom Lane
b9f3a929ee
Create a new HeapTupleSatisfiesVacuum() routine in tqual.c that embodies the
...
validity checking rules for VACUUM. Make some other rearrangements of the
VACUUM code to allow more code to be shared between full and lazy VACUUM.
Minor code cleanups and added comments for TransactionId manipulations.
2001-07-12 04:11:13 +00:00
Bruce Momjian
9e1552607a
pgindent run. Make it all clean.
2001-03-22 04:01:46 +00:00
Bruce Momjian
623bf843d2
Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.
2001-01-24 19:43:33 +00:00
Vadim B. Mikheev
81c8c244b2
No more #ifdef XLOG.
2000-11-30 08:46:26 +00:00
Peter Eisentraut
a70e74b060
Put external declarations into header files.
2000-11-21 21:16:06 +00:00
Vadim B. Mikheev
5b0740d3fc
WAL
2000-10-28 16:21:00 +00:00
Vadim B. Mikheev
b58c0411ba
redo/undo support functions and cleanups.
2000-10-20 11:01:21 +00:00
Tom Lane
ad7b47aa02
Fix sloppy macro coding (not enough parentheses).
2000-07-28 01:04:40 +00:00
Bruce Momjian
20ad43b576
Mark functions as static and ifdef NOT_USED as appropriate.
2000-06-08 22:38:00 +00:00
Tom Lane
48165ec226
Latest round of fmgr updates. All functions with bool,char, or int2
...
inputs have been converted to newstyle. This should go a long way towards
fixing our portability problems with platforms where char and short
parameters are passed differently from int-width parameters. Still
more to do for the Alpha port however.
2000-06-05 07:29:25 +00:00
Bruce Momjian
5c25d60244
Add:
...
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
to all files copyright Regents of Berkeley. Man, that's a lot of files.
2000-01-26 05:58:53 +00:00
Bruce Momjian
773088809d
More cleanup
1999-07-16 17:07:40 +00:00
Bruce Momjian
a9591ce66a
Change #include's to use <> and "" as appropriate.
1999-07-15 23:04:24 +00:00
Bruce Momjian
4b2c2850bf
Clean up #include in /include directory. Add scripts for checking includes.
1999-07-15 15:21:54 +00:00
Bruce Momjian
6724a50787
Change my-function-name-- to my_function_name, and optimizer renames.
1999-02-13 23:22:53 +00:00
Vadim B. Mikheev
3498d878cb
SET TRANSACTION ISOLATION LEVEL ...
...
LOCK TABLE IN ... MODE
...implemented
1998-12-18 09:10:39 +00:00
Vadim B. Mikheev
3f7fbf85dc
Initial MVCC code.
...
New code for locking buffer' context.
1998-12-15 12:47:01 +00:00
Bruce Momjian
173c555948
Make functions static or ifdef NOT_USED. Prevent pg_version creation.
1998-10-08 18:30:52 +00:00
Tom Lane
c77a29a14e
Substantial rewrite of async.c to avoid problems with non-reentrant stdio
...
and possibly other problems. Minor changes in xact.c and postgres.c's
main loop to support new handling of async NOTIFY.
1998-10-06 02:40:09 +00:00
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
Vadim B. Mikheev
be8300b18f
Use Snapshot in heap access methods.
1998-07-27 19:38:40 +00:00
Bruce Momjian
4cbfeef912
Inline some small functions called for every row.
1998-04-24 14:43:33 +00:00
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
Thomas G. Lockhart
27b12bfd54
Include transam.h to get NullTransactionId defined
...
for use by recently created macros.
1997-11-07 18:39:38 +00:00
Vadim B. Mikheev
32cd09ac6d
Good Bye, Time Travel!
1997-11-02 15:27:14 +00:00
Bruce Momjian
59f6a57e59
Used modified version of indent that understands over 100 typedefs.
1997-09-08 21:56:23 +00:00
Bruce Momjian
319dbfa736
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
1997-09-08 02:41:22 +00:00
Bruce Momjian
1ccd423235
Massive commit to run PGINDENT on all *.c and *.h files.
1997-09-07 05:04:48 +00:00
Vadim B. Mikheev
3152996ffb
Fix very old bug which made tuples changed/inserted by a commnd
...
visible to command itself (so we had multiple update of updated tuples,
etc).
1997-08-29 09:05:25 +00:00
Bruce Momjian
1d8bbfd2e7
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
1997-08-19 21:40:56 +00:00
Bruce Momjian
aaeef4d17d
All external function definitions now have prototypes that are checked.
1996-11-10 03:06:38 +00:00
Marc G. Fournier
8202bce9ba
And another..
1996-11-05 07:15:58 +00:00
Marc G. Fournier
0c960e7fc0
More include file cleanups
1996-11-03 08:17:38 +00:00
Marc G. Fournier
5a8820efcd
Moved from backend/access to include/access
1996-08-27 21:50:29 +00:00