pg_shard v1.2 introduced the use of SPI in the metadata system to better abstract differences between pg_shard and CitusDB representations of distribution metadata. This release addresses performance issues from that change by ensuring SPI plans are cached after their first use.