PostgreSQL 12: column proisagg does not exist
The query is hard-coded into pgAdmin III, and you cannot change it.

These columns have been removed in v12 because they are no longer useful.

pgAdmin III has been out of support for years.

Use pgAdmin 4 or another supported client tool.