pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command
2+ messages / 2 participants
[nested] [flat]
* BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command
@ 2021-12-08 02:45 PG Bug reporting form <noreply@postgresql.org>
2021-12-08 13:06 ` Re: BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command Greg Rychlewski <greg.rychlewski@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2021-12-08 02:45 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: greg.rychlewski@gmail.com
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command
2021-12-08 02:45 BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command PG Bug reporting form <noreply@postgresql.org>
@ 2021-12-08 13:06 ` Greg Rychlewski <greg.rychlewski@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Greg Rychlewski @ 2021-12-08 13:06 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org
Apologies, this is a false alarm. The oid returned for the datatype is int4
but since this is a simple query the actual value is a string. I didn't
read the doc correctly the first time.
On Tue, Dec 7, 2021 at 9:46 PM PG Bug reporting form <noreply@postgresql.org>
wrote:
> 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
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-12-08 13:06 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08 02:45 BUG #17325: Unexpected streaming replication protocol bytes for IDENTIFY_SYSTEM command PG Bug reporting form <noreply@postgresql.org>
2021-12-08 13:06 ` Greg Rychlewski <greg.rychlewski@gmail.com>
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