Search Postgresql Archives

Errors upgrading from 7.3 to 8.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Currently running Postgres 7.3.9 32bit on Fedora Core 1, and upgrading to PG 
8.1 64bit on Centos 4. 

When I load the file, 
psql -U dbname < dbname.sql 

I get this error: 
ERROR:  invalid UTF-8 byte sequence detected near byte 0x96
when inserting fields that seem to contain HTML. What could be causing this? 
My understanding is that pg_dump should properly escape things so that I'm 
not trying to dump/load things improperly. 

The dumps are made (on the PG 7.3 server) 
pg_dump -d -f $OUTPUT.pgsql $db 

Are being restore with (on the new 8.1 server) 
psql -U $db -e < $OUTPUT.pgsql 

-Ben 
-- 
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux