Hi Mario, I tested the patch locally. Before applying the patch, I verified that strncpy() was used in ParsePrepareRecord() and tested the affected code path by creating and committing a prepared transaction using PREPARE TRANSACTION. The prepared transaction appeared correctly in pg_prepared_xacts, and COMMIT PREPARED completed successfully.
After applying the patch, I rebuilt PostgreSQL and repeated the same test. The behavior remained unchanged: PREPARE TRANSACTION, COMMIT PREPARED, and the committed data all worked as expected. I didn't notice any regressions during my testing. The change looks good to me. Thanks for the patch! Regards Solai
