Bruce Momjian <bruce(at)momjian(dot)us> writes:
> I have added a TODO item:
> o Allow COMMENT ON dbname to work when loading into a database
> with a different name
This is an extremely poorly phrased TODO item. The problem is not that
you can't comment on a database with a different name --- that's worked
ever since pg_shdescription was added.
regards, tom lane