diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 2000-12-30 06:52:34 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 2000-12-30 06:52:34 +0000 |
commit | c193f19a39383c2b73abe9d9cf021db2e465cfc7 (patch) | |
tree | f432caa46e9f9deace2020e06d56913ba914b66b /src/backend/access/heap/heapam.c | |
parent | c0f9597b31dc6c7928ca7f7ca48da79035329108 (diff) |
Fixed misprint in heap update WALoging.
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r-- | src/backend/access/heap/heapam.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 4de424598ed..87b3e7090d5 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.103 2000/12/28 13:00:06 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.104 2000/12/30 06:52:33 vadim Exp $ * * * INTERFACE ROUTINES @@ -1665,6 +1665,10 @@ l2: * without reading log if xact will abort before update is logged. * In the event of crash prio logging, TQUAL routines will see * HEAP_XMAX_UNLOGGED flag... + * + * NOTE: this trick is useless currently but saved for future + * when we'll implement UNDO and will re-use transaction IDs + * after postmaster startup. */ _locked_tuple_.node = relation->rd_node; _locked_tuple_.tid = *otid; @@ -2066,7 +2070,7 @@ log_heap_update(Relation reln, Buffer oldbuf, ItemPointerData from, hsize += (2 * sizeof(TransactionId)); } rdata[2].buffer = newbuf; - rdata[2].data = (char*)&xlhdr; + rdata[2].data = (char*)xlhdr; rdata[2].len = hsize; rdata[2].next = &(rdata[3]); |