diff --git a/internal/db/postgres/entries/table.go b/internal/db/postgres/entries/table.go index bc389a40..4eef88ad 100644 --- a/internal/db/postgres/entries/table.go +++ b/internal/db/postgres/entries/table.go @@ -84,7 +84,7 @@ func (t *Table) Entry() (*toc.Entry, error) { } } - var query = `COPY "%s"."%s" (%s) FROM stdin` + var query = "COPY \"%s\".\"%s\" (%s) FROM stdin;\n" var schemaName, tableName string if t.LoadViaPartitionRoot && t.RootPtSchema != "" && t.RootPtName != "" { schemaName = t.RootPtSchema