Skip to content
This repository was archived by the owner on Sep 7, 2023. It is now read-only.
This repository was archived by the owner on Sep 7, 2023. It is now read-only.

Doesn't support custom types #1

@nvquanghuy

Description

@nvquanghuy

When a postgres table has a custom type, it raises an error instead, because it doesn't recreate the custom type at the destination db.

huy@ks4003980:~$ pgcp -s demodb -d reporting -t public.bookings --force-schema demodb
I, [2015-11-08T11:49:17.926390 #14987]  INFO -- : Start to copy from table public.bookings to table public.bookings
NOTICE:  schema "demodb" already exists, skipping
I, [2015-11-08T11:49:21.963906 #14987]  INFO -- : Destination table does not exist, creating destination table.
E, [2015-11-08T11:49:23.835802 #14987] ERROR -- : ERROR:  type "taxi_types" does not exist
LINE 5:   taxi_type  taxi_types  NULL,
                     ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions