Chinaunix

标题: [求助]COPY出现Broken pipe错误 [打印本页]

作者: forevering    时间: 2008-06-17 17:26
标题: [求助]COPY出现Broken pipe错误
两台数据库A、B(表结构一致),将 A 上的数据COPY到B上。
在 B 上执行下面COPY操作时,A 日志出现Broken pipe错误

psql -h A -d db_a -U postgres -c COPY t_as TO STDOUT; | psql -h B -d db_b -U postgres -c COPY t_as FROM STDIN;


详细日志:
COPY LOG: could not send data to client: Connection timed out
COPY LOG: could not send data to client: Broken pipe

有遇到过类似的问题吗?
是我的语法不对吗?
有没有解决办法?

PG 8.1.11
Linux AS5
作者: forevering    时间: 2008-06-19 15:47
高人呢?
作者: yueliangdao0608    时间: 2008-06-20 11:38
www.pgsqldb.org问问吧。POSTGRESQL毕竟用的很少。我上次也是给你GOOGLE了一下。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2