Search Postgresql Archives

Re: Errors upgrading from 7.3 to 8.1

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

 



On Mon, 2005-11-28 at 18:39, Stock, Stuart wrote:
> FYI in case you still have the problem after using pg_dump from 8.1 (we did)
> you may have an encoding mismatch between your 7.3 and 8.1 databases. Our
> 7.x database was SQL_ASCII while 8.1 defaults to creating databases as
> UTF-8. I had similar "invalid UTF-8 byte sequence" errors. I fixed it by
> using:
> 
> createdb --encoding=SQL_ASCII [your db here]
> 
> When creating the database in 8.1. We were then able to load without a
> problem.
> 
> Not sure you're in the exact same situation, but hope it helps.


Also, lookup the command iconv.  VERY useful.  I found out about it from
this list, and use it for plenty other things than just postgresql.


[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