PG Bug reporting form <noreply@postgresql.org> writes:
> While importing a whole database created with pg_dump (Windows Pg 16.3 and
> PgAdmin 4 environment) to a Docker postgres:16.4-alpine3.20 container with
> no data, the pg_restore command did not create any tables that used custom
> collations or types.
pg_dump surely has code for those things. You would need to provide
far more detail (preferably, a reproducible example case) for anyone
to figure out why things went wrong for you.
https://wiki.postgresql.org/wiki/Guide_to_reporting_problems
regards, tom lane