Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Generated COPY statements missing EOD marker #12

Description

@mfrederiksen-p44

For two empty tables the following SQL output is generated

COPY "TableFoo" FROM STDIN;
COPY "TableBar" FROM STDIN;
\.

resulting in error

psql:tdx-dev.sql:915: ERROR:  missing data for column "column1"
CONTEXT:  COPY TableFoo, line 1: "COPY "TableBar" FROM STDIN;"

because the first COPY statement is missing the EOD marker \.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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