pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: greg.rychlewski@gmail.com
Subject: BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command
Date: Wed, 08 Dec 2021 02:45:29 +0000
Message-ID: <17325-f45d35e03971e979@postgresql.org> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <17325-f45d35e03971e979@postgresql.org>
Permalink:  ../17325-f45d35e03971e979@postgresql.org/
Also on:    postgresql.org/message-id/17325-f45d35e03971e979@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, greg.rychlewski@gmail.com
  Subject: Re: BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command
  In-Reply-To: <17325-f45d35e03971e979@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox