Skip to content

Duplicate ENUM names not handled correctly #197

@davidfetter

Description

@davidfetter

When multiple tables use the same name but not the same definition for an ENUM type (yes, I get that that's not great naming),IMPORT FOREIGN SCHEMA suggests multiple incompatible type definitions.

Is there some way to prefix the suggestion of the type name with the name of the table, which would then be used both in the suggested type definition and in the foreign table creation script?

Better still, is there some way to generate the ENUM types in a first pass and then use them in creating foreign tables in IMPORT FOREIGN SCHEMA?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions