You are importing a PostgreSQL v12 pg_dump
into something that is obviously based on an earlier version of PostgreSQL.
This error is harmless (the parameter default_table_access_method
was introduced in v12), but you may have more interesting problems with other new v12 features. If the rest of the import works without error, you are probably fine, but keep in mind that downgrading PostgreSQL is not supported.
You would be best off using the same version throughout. If you cannot have that locally because the hosted database is a closed source fork, that is a good point against using it.