var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: copying from stdion to stdout
I'm trying to copy a csv file from my computer to a server and it looks like this with JDBC
and I am getting this error
sql.executeUpdate("copy table1(coloumn) FROM" +" 'C:/csv/table1.csv' WITH DELIMITER ',' CSV HEADER");
ERROR:must be superuser to COPY to or from a file
Now after looking in interent I've found that i need to copy it to stdin and from stdin to stdout and then to the table,
but how i can do this in postregsql??
i thought about something like this:
can someone plz just write a little example??
and another thing,
I found that i can do this with \copy but this is not working cause im getting the EROOR: syntax error at or near "\"
or should I just write it someway else??
any tipps plz????