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 ?
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
--
Envoi via la liste pgsql-fr-generale (pgsql-fr-generale(at)postgresql(dot)org)