Open rafatower opened 4 years ago
Can you explain why this is needed here and not in the other places where IMPORT FOREIGN SCHEMA
is called?
Because of default collations, checks in FDW's, and catallog tables using NAME
type.
I'm sorry but I don't understand it. What about a foreign table that uses NAME as one of the column, is that different? How?
I suspect it is not different at all, just less common
This fixes #393 by avoiding collation options. The affected function is only used from diagnostics, and aside from
pg_extension
only meant to import other catallog tables for internal diagnostics (pg_catalog
andpg_settings
) so it shall be pretty safe.