diff options
| author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1999-03-28 20:32:42 +0000 |
|---|---|---|
| committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1999-03-28 20:32:42 +0000 |
| commit | fdf6be80f993d2908f794c0a33aedff479a92813 (patch) | |
| tree | 01e6047f38baeb4124c6c331de8ed81862647353 /src/backend/access/heap/heapam.c | |
| parent | d4ed17842a44853ce339b80e111ec1bc58691c17 (diff) | |
| download | postgresql-fdf6be80f993d2908f794c0a33aedff479a92813.tar.gz | |
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.
Diffstat (limited to 'src/backend/access/heap/heapam.c')
| -rw-r--r-- | src/backend/access/heap/heapam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index f2b0cd187b..63fd52d124 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.41 1999/02/13 23:14:22 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.42 1999/03/28 20:31:56 vadim Exp $ * * * INTERFACE ROUTINES @@ -1270,7 +1270,7 @@ l2: newtup->t_data->t_cmin = GetCurrentCommandId(); StoreInvalidTransactionId(&(newtup->t_data->t_xmax)); newtup->t_data->t_infomask &= ~(HEAP_XACT_MASK); - newtup->t_data->t_infomask |= HEAP_XMAX_INVALID; + newtup->t_data->t_infomask |= (HEAP_XMAX_INVALID | HEAP_UPDATED); /* logically delete old item */ TransactionIdStore(GetCurrentTransactionId(), &(oldtup.t_data->t_xmax)); |
