Menu

#19 Fix schema qualified tables and \COPY

In review
closed-accepted
6
2013-04-10
2013-04-04
No

Nihil's patch to fix the following issue:

Looks like \COPY does not handle schema qualified tables properly. The
COPY command that is sent to the remote nodes forgets to schema
qualify the table:

create schema foo;
create table foo.bar(x int);
\copy foo.bar (x) FROM 'file.txt' with csv;

The above fails. The fix is to schema-qualify the table before sending
it on the wire. We need to be careful about temp tables though. PFA,
patch against HEAD for the same.

Discussion

  • Koichi Suzuki

    Koichi Suzuki - 2013-04-04
     
  • Koichi Suzuki

    Koichi Suzuki - 2013-04-10
    • status: open --> closed-accepted
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.