Re: [ADMIN] Can't dump and restore

2005-11-01 Thread Peter Darley
ter Darley -Original Message- From: Tom Lane [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 1:38 PM To: Peter Darley Cc: Pgsql-Admin Subject: Re: [ADMIN] Can't dump and restore "Peter Darley" <[EMAIL PROTECTED]> writes: > So, long and short,

Re: [ADMIN] Can't dump and restore

2005-11-01 Thread Tom Lane
"Peter Darley" <[EMAIL PROTECTED]> writes: > So, long and short, I think that everything should be SQL_ASCII, but > even > when it is, I get the error. There is no way you're going to get that error if the encoding setting is SQL_ASCII, so better look again. "SHOW server_encoding" and "SHO

Re: [ADMIN] Can't dump and restore

2005-11-01 Thread Peter Darley
So, long and short, I think that everything should be SQL_ASCII, but even when it is, I get the error. Thanks, Peter Darley -Original Message- From: Tom Lane [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 1:22 PM To: Peter Darley Cc: Pgsql-Admin Subject: Re: [ADMIN] Can&#x

Re: [ADMIN] Can't dump and restore

2005-11-01 Thread Tom Lane
"Peter Darley" <[EMAIL PROTECTED]> writes: > I'm having some trouble restoring data that was dumped from my database. > When I dump out a table (pg_dump -d neo -t question > question.tbl) and try > to restore it (psql -d temp -f question.tbl) I get errors on certain rows: > "psql:question.tbl

[ADMIN] Can't dump and restore

2005-11-01 Thread Peter Darley
Folks, I'm having some trouble restoring data that was dumped from my database. When I dump out a table (pg_dump -d neo -t question > question.tbl) and try to restore it (psql -d temp -f question.tbl) I get errors on certain rows: "psql:question.tbl:15861: ERROR: invalid byte sequence for