Re: protocol-level wait-for-LSN - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: protocol-level wait-for-LSN
Date
Msg-id CAGECzQRzd052SoYKHT1mmeNFFXP2B3wV68WgyEO7qcSAh9XErQ@mail.gmail.com
Whole thread Raw
Responses Re: protocol-level wait-for-LSN
List pgsql-hackers
On Mon, 28 Oct 2024 at 16:51, Peter Eisentraut <peter@eisentraut.org> wrote:
> Thoughts?

+                   snprintf(xloc, sizeof(xloc), "%X/%X",
LSN_FORMAT_ARGS(logptr))
+                   pq_sendstring(&buf, xloc);

nit: I feel that sending the LSN as a string seems unnecessarily
wasteful of bytes. I'd rather send it as its binary representation.



pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: protocol-level wait-for-LSN
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: protocol-level wait-for-LSN