Running any query that updates the catalog ( say "grant" for example ) gives the following error:
ERROR: tuple concurrently updated (heapam.c:3210)
As indicated by the error message, when you ran the query someone else was concurrently updating the same tuple, this can be easily reproduced with below steps.
while true; do psql -c 'grant all on <tablename> to <rolename>'; done