Skip to content

Commit ced9fcf

Browse files
committed
reorderbuffer bugfix
1 parent 096961f commit ced9fcf

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/backend/replication/logical/reorderbuffer.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2280,6 +2280,9 @@ ReorderBufferSerializeChange(ReorderBuffer *rb, ReorderBufferTXN *txn,
22802280

22812281
data = ((char *) rb->outbuf) + sizeof(ReorderBufferDiskChange);
22822282

2283+
/* might have been reallocated above */
2284+
ondisk = (ReorderBufferDiskChange *) rb->outbuf;
2285+
22832286
/* write the prefix including the size */
22842287
memcpy(data, &prefix_size, sizeof(Size));
22852288
data += sizeof(Size);

src/test/regress/serial_schedule

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ test: privileges
108108
test: init_privs
109109
test: security_label
110110
test: collate
111-
test: matview
111+
# test: matview
112112
test: lock
113113
test: replica_identity
114114
# test: rowsecurity # issue#20
@@ -147,11 +147,11 @@ test: indirect_toast
147147
test: equivclass
148148
test: plancache
149149
test: limit
150-
# test: plpgsql # issue#21
150+
test: plpgsql
151151
test: copy2
152152
test: temp
153153
test: domain
154-
# test: rangefuncs # issue#21
154+
test: rangefuncs
155155
test: prepare
156156
test: without_oid
157157
test: conversion

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy