Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ed4b12

Browse files
committed
Remove duplicate assignment when initializing logical decoder context
The private data in the WAL reader is already getting set whenallocating it.Author: Antonin HouskaReviewed-by: Tom LaneDiscussion:https://postgr.es/m/30563.1555329094@localhost
1 parente12a472 commit5ed4b12

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎src/backend/replication/logical/logical.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ StartupDecodingContext(List *output_plugin_options,
178178
(errcode(ERRCODE_OUT_OF_MEMORY),
179179
errmsg("out of memory")));
180180

181-
ctx->reader->private_data=ctx;
182-
183181
ctx->reorder=ReorderBufferAllocate();
184182
ctx->snapshot_builder=
185183
AllocateSnapshotBuilder(ctx->reorder,xmin_horizon,start_lsn,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp