Hello,
the method TZPostgreSQLPreparedStatement.ExecuteUpdatePrepared has missing update for LastUpdateCount. The problem is highly visible in framework like mORMot, the reported state of "updated count" of records is always equal to 0 (even when some records were updated).
Patch attached (anyway may be worth to check also TZPostgreSQLCallableStatement.ExecuteUpdatePrepared where assignemnt LastUpdateCount not occurs and other ExecuteUpdatePrepared from other drivers)
applied as is.
Thank you again