Bruce Momjian
d84fe82230
Update copyright to 2002.
2002-06-20 20:29:54 +00:00
Bruce Momjian
3c35face41
This patch wraps all accesses to t_xmin, t_cmin, t_xmax, and t_cmax in
...
HeapTupleHeaderData in setter and getter macros called
HeapTupleHeaderGetXmin, HeapTupleHeaderSetXmin etc.
It also introduces a "virtual" field xvac by defining
HeapTupleHeaderGetXvac and HeapTupleHeaderSetXvac. Xvac is used by
VACUUM, in fact it is stored in t_cmin.
Manfred Koizar
2002-06-15 19:54:24 +00:00
Tom Lane
3212cf9417
Distinguish between MaxHeapAttributeNumber and MaxTupleAttributeNumber,
...
where the latter is made slightly larger to allow for in-memory tuples
containing resjunk attributes. Responds to today's complaint that one
cannot UPDATE a table containing the allegedly-legal maximum number of
columns.
Also, apply Manfred Koizar's recent patch to avoid extra alignment padding
when there is a null bitmap. This saves bytes in some cases while not
creating any backward-compatibility problem AFAICS.
2002-05-27 19:53:33 +00:00
Bruce Momjian
ea08e6cd55
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
...
initdb/regression tests pass.
2001-11-05 17:46:40 +00:00
Bruce Momjian
6783b2372e
Another pgindent run. Fixes enum indenting, and improves #endif
...
spacing. Also adds space for one-line comments.
2001-10-28 06:26:15 +00:00
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
2001-10-25 05:50:21 +00:00
Tom Lane
571dbe4606
Improve comments for xlog item size #defines.
2001-03-25 22:40:58 +00:00
Bruce Momjian
9e1552607a
pgindent run. Make it all clean.
2001-03-22 04:01:46 +00:00
Bruce Momjian
15903a1ed4
Comment improvements.
2001-02-21 19:07:04 +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
3e059b3802
1. WAL needs in zero-ed content of newly initialized page.
...
2. Log record for PageRepaireFragmentation now keeps array
of !LP_USED offnums to redo cleanup properly.
2000-12-30 15:19:57 +00:00
Vadim B. Mikheev
7ceeeb662f
New WAL version - CRC and data blocks backup.
2000-12-28 13:00:29 +00:00
Tom Lane
8609d4abf2
Fix portability problems recently exposed by regression tests on Alphas.
...
1. Distinguish cases where a Datum representing a tuple datatype is an OID
from cases where it is a pointer to TupleTableSlot, and make sure we use
the right typlen in each case.
2. Make fetchatt() and related code support 8-byte by-value datatypes on
machines where Datum is 8 bytes. Centralize knowledge of the available
by-value datatype sizes in two macros in tupmacs.h, so that this will be
easier if we ever have to do it again.
2000-12-27 23:59:14 +00:00
Vadim B. Mikheev
81c8c244b2
No more #ifdef XLOG.
2000-11-30 08:46:26 +00:00
Vadim B. Mikheev
741510521c
XLOG stuff for sequences.
...
CommitDelay in guc.c
2000-11-30 01:47:33 +00:00
Tom Lane
21e1e6643c
Minor cleanup of tableOid-related coding.
2000-11-14 21:04:32 +00:00
Tom Lane
b0d243e420
Clean up comments.
2000-11-14 20:47:34 +00:00
Vadim B. Mikheev
db2faa943a
WAL misc
2000-10-24 09:56:23 +00:00
Vadim B. Mikheev
b58c0411ba
redo/undo support functions and cleanups.
2000-10-20 11:01:21 +00:00
Vadim B. Mikheev
f2bfe8a24c
Heap redo/undo (except for tuple moving used by vacuum).
2000-09-07 09:58:38 +00:00
Tom Lane
0224177400
TOAST mop-up work: update comments for tuple-size-related symbols such
...
as MaxHeapAttributeNumber. Increase MaxAttrSize to something more
reasonable (given what it's used for, namely checking char(n) declarations,
I didn't make it the full 1G that it could theoretically be --- 10Mb
seemed a more reasonable number). Improve calculation of MaxTupleSize.
2000-08-07 20:16:13 +00:00
Vadim B. Mikheev
d0273c07ac
misc
2000-07-04 01:49:44 +00:00
Vadim B. Mikheev
1b67fe17b8
heap' logging
2000-07-03 02:54:21 +00:00
Bruce Momjian
80c646958a
Attached is a new patch which addresses this problem. (oids in
...
regression tests).
Chris Bitmead
2000-07-02 22:01:27 +00:00
Vadim B. Mikheev
bf1c8f2b3b
heap' xlog records
2000-06-02 10:20:27 +00:00
Bruce Momjian
52f77df613
Ye-old pgindent run. Same 4-space tabs.
2000-04-12 17:17:23 +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
Jan Wieck
e2aef49694
Added empty TOASTER files and corrected some minor glitches
...
in regression tests.
Jan
1999-12-21 00:06:44 +00:00
Jan Wieck
397e9b32a3
Some changes to prepare for LONG attributes.
...
Jan
1999-12-16 22:20:03 +00:00
Bruce Momjian
faf7d78174
Install new alignment code to use MAXALIGN rather than DOUBLEALIGN where
...
approproate.
1999-07-19 07:07:29 +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
30e27a9099
readd include for safety.
1999-07-12 13:32:38 +00:00
Bruce Momjian
137eacbe6a
Align cleanup.
1999-07-04 05:47:06 +00:00
Bruce Momjian
a0b4af3c85
More alignment
1999-07-04 05:44:56 +00:00
Bruce Momjian
eba41848aa
Clarify maximum tuple and max attribute lengths.
1999-07-04 04:56:02 +00:00
Bruce Momjian
ff8756dd1c
More cleanup
1999-07-03 01:57:53 +00:00
Bruce Momjian
97dfff832c
Fix to prevent too large tuple from being created.
1999-07-03 00:33:04 +00:00
Bruce Momjian
fcff1cdf4e
Another pgindent run. Sorry folks.
1999-05-25 22:43:53 +00:00
Bruce Momjian
07842084fe
pgindent run over code.
1999-05-25 16:15:34 +00:00
Vadim B. Mikheev
fdf6be80f9
1. Vacuum is updated for MVCC.
...
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-28 20:32:42 +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
3f7fbf85dc
Initial MVCC code.
...
New code for locking buffer' context.
1998-12-15 12:47:01 +00:00
Vadim B. Mikheev
2435c7d501
New HeapTuple structure/interface.
1998-11-27 19:33:35 +00:00
Bruce Momjian
fa1a8d6a97
OK, folks, here is the pgindent output.
1998-09-01 04:40:42 +00:00
Bruce Momjian
a32450a585
pgindent run before 6.3 release, with Thomas' requested changes.
1998-02-26 04:46:47 +00:00
Bruce Momjian
726c3854cb
Inline fastgetattr and others so data access does not use function
...
calls.
1998-01-31 04:39:26 +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