Re: [GENERAL] COPY: row is too big - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] COPY: row is too big
Date
Msg-id 17512.1483374089@sss.pgh.pa.us
Whole thread Raw
In response to [GENERAL] COPY: row is too big  (vod vos <vodvos@zoho.com>)
Responses Re: [GENERAL] COPY: row is too big  (vod vos <vodvos@zoho.com>)
List pgsql-general
vod vos <vodvos@zoho.com> writes:
> When I copy data from csv file, a very long values for many columns (about 1100 columns). The errors appears:
> ERROR:  row is too big: size 11808, maximum size 8160

You need to rethink your table schema so you have fewer columns.
Perhaps you can combine some of them into arrays, for example.
JSON might be a useful option, too.

            regards, tom lane


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [GENERAL] Difficulty modelling sales taxes
Next
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] Difficulty modelling sales taxes