BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command
Date
Msg-id 17325-f45d35e03971e979@postgresql.org
Whole thread Raw
Responses Re: BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command  (Greg Rychlewski <greg.rychlewski@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17325
Logged by:          Greg Rychlewski
Email address:      greg.rychlewski@gmail.com
PostgreSQL version: 13.0
Operating system:   x86_64-apple-darwin18.7.0
Description:

Hi,

I ran the following command and captured the packets with wire shark:

psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"

The timeline ID returned from psql is displayed as 1. Based on the protocol
docs, I was expecting the packets to correspond to an int32 value of 1, but
I am seeing them coming as the string "1". I see following (values are
hexadecimal):

00 00 00 01 for the length 
31 for the value

Thanks,
Greg


pgsql-bugs by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: BUG #17268: Possible corruption in toast index after reindex index concurrently
Next
From: Michael Paquier
Date:
Subject: Re: BUG #17268: Possible corruption in toast index after reindex index concurrently