Ah, didn't see the caching part.
Plans for prepared statements are cached though.
Plans for prepared statements are cached though.
Other databases like MSSQL have prepared statements but they are rarely used now days since plan caching based on query text was introduced decades ago.