Re: [GENERAL] copy from .. How to get rid of encoding check for bytea coumns

2012-09-10 Thread Albe Laurenz
Roman Golis wrote: > I am trying to load data into a rather simple table: > > CREATE TABLE "public"."files" ( > "id" SERIAL, > "idchar" CHAR(32) NOT NULL, > "content" BYTEA, > CONSTRAINT "files_pkey" PRIMARY KEY("id") > ) WITHOUT OIDS; > > with this command: > > copy files (idchar, conte

[GENERAL] copy from .. How to get rid of encoding check for bytea coumns

2012-09-08 Thread Roman Golis
I am trying to load data into a rather simple table: CREATE TABLE "public"."files" ( "id" SERIAL, "idchar" CHAR(32) NOT NULL, "content" BYTEA, CONSTRAINT "files_pkey" PRIMARY KEY("id") ) WITHOUT OIDS; with this command: copy files (idchar, content) from '/data/1.dat' delimiter '|'; T