I think you're right, it was added later. For those who think
"DIAGNOSTICS" are a weird place to put things like "ROW_COUNT", you're
right. However, it is the name of the variable specified by the SQL92
and SQL3 standards, so the PG folk decided to stick with it.