Search Postgresql Archives

Re: How to import *.sql file to postgresql database

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

 



2010/7/18 Andre Lopes <lopes80andre@xxxxxxxxx>:
> If I do this command gives me the same error:
>
> [quote]
> ERROR:  invalid byte sequence for encoding "UTF8": 0xff
> HINT:  This error can also happen if the byte sequence does not match the
> encoding expected by the server, which is controlled by "client_encoding".
> [/quote]
>
> What more can I do?
>
> Best Regards,
>
>
> On Sun, Jul 18, 2010 at 9:11 PM, Edoardo Panfili <edoardo@xxxxxxxx> wrote:
>>
>> On 18/07/10 22.06, Andre Lopes wrote:
>>>
>>> Hi,
>>>
>>> I have a DUMP file with INSERT's commands. I need to import this data to
>>> postgresql database with the "psql" command.
>>>
>>> How can I do this task?
>>
>> I think
>>
>> psql -U user_name database_name <dump_file
>>
>> EDoardo
>>


A BOM (Byte Order Mark) case?
http://en.wikipedia.org/wiki/Byte_order_mark

http://archives.postgresql.org/pgsql-sql/2010-06/msg00065.php

Osvaldo

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[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