Re: [posgresql bytea]

From: pierre crumeyrolle <pierre(dot)crumeyrolle(at)c-s(dot)fr>
To: pgsql-fr-generale(at)postgresql(dot)org
Subject: Re: [posgresql bytea]
Date: 2014-02-24 10:13:04
Message-ID: 530B1B30.4090707@c-s.fr
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-fr-generale

ok merci mais j'ai un /ERROR COPY file signature not recognized avec
l'option BINARY
/

copy TABLE_BYTEA from '/NFS/blobextract' BINARY

Le 24/02/2014 11:02, Dimitri Fontaine a écrit :
> pierre crumeyrolle <pierre(dot)crumeyrolle(at)c-s(dot)fr> writes:
>> je fais un create table TABLE_BYTEA(BINAIRE bytea);
>> copy TABLE_BYTEA from '/NFS/blobextract'
>> j'ai eu erreur ERROR : invalid byte sequence for encoding "UTF8":0xfa
> http://www.postgresql.org/docs/current/static/sql-copy.html
>
> FORMAT Selects the data format to be read or written: text, csv (Comma
> Separated Values), or binary. The default is text.
>
> Et donc dans ce cas il semblerait que peut être FORMAT 'BINARY' ferait
> plus de sens ?
>

In response to

Responses

Browse pgsql-fr-generale by date

  From Date Subject
Next Message Daniel Verite 2014-02-24 12:10:58 Re: [posgresql bytea]
Previous Message Dimitri Fontaine 2014-02-24 10:02:42 Re: [posgresql bytea]