On 9/27/22 1:52 AM, Kyotaro Horiguchi wrote:
Thanks!At Mon, 26 Sep 2022 19:53:02 -0700, Andres Freund <and...@anarazel.de> wrote inI wonder if the correct fix here wouldn't be to move the slotname out of PgStat_StatReplSlotEntry?Ugh. Right. I thought its outer struct as purely the part for the common header. But we can freely place anything after the header part. I moved it to the outer struct. I didn't clear that part in pgstat_create_relation() because it is filled in immediately. The attached is that.
This is still listed as an open item[1] for v15. Does this fix proposed address the issue?
Thanks, Jonathan [1] https://wiki.postgresql.org/wiki/PostgreSQL_15_Open_Items
OpenPGP_signature
Description: OpenPGP digital signature