Jump to content

Recommended Posts

Posted

Hello,

 

I'm trying to dump my local postgres table to heliohost, but I'm having

some trouble due to sql errors in the exported file. Thats because I have

some text data with some characters that are causing sql errors. So I had

the idea to export in csv, instad of plain sql. Same trouble...

 

I'm trying now import as binary file to see if it works. So I did like this:

 

copy to 'myfile' with binary

 

Ok, I got the dump, but I can't do this command in helioshost:

 

copy from 'myfile' with binary

 

I need to be a superuser, as the message says. It tells me to use stdin and

stdout instead of the file. I tried to export like this, but it appears my

table is too much data, and my pc stops working, so I guess I'll have to

use files, instead of stdin and stdout.

 

Bot how can I do this? could you give me the permission to my user to use

the command "copy from 'myfile' with binary"?

 

database: animean_<removed>

username: animean_<removed>

 

Please, erase the database and username from this conversation, for the

public not to see it.

 

Thanks

Guest
This topic is now closed to further replies.
×
×
  • Create New...