jackc / jackc/pglogrepl

pglogrepl_demo output does not look like the provided example output

Open
#26 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
546
Forks
83
Avg merge
2d 21h
Merged PRs (30d)
1

Description

`pglogrepl_demo` does not display in clear the inserted or updated values, for instance it displays:
```
2022/02/28 10:49:13 XLogData => WALStart 0/1740EC0 ServerWALEnd 0/1740EC0 ServerTime: 2022-02-28 10:49:13.171574 +0100 CET WALData Ct?t?|??}4
```

while the documentation says it should look like:
```
2019/08/22 20:04:59 XLogData => WALStart 3/A6693E68 ServerWALEnd 3/A6693E68 ServerTime: 1999-12-31 18:00:00 -0600 CST WALData table public.t: INSERT: id[integer]:1 name[text]:'foo'
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running pglogrepl_demo and comparing its output with the documented example. Inspect the demo's WAL decoding and output path to determine why inserted or updated values appear as unreadable data. Done means the demo clearly displays the table, operation, and values in the documented format.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.