Обсуждение: Additional options for COPY from
Hi,
I'm not sure if this is the best list to ask this (and I am very new to PostgreSQL) but I think more options are needed in the COPY from command, in order to better deal with exceptions. By exceptions I mean data not consistent with the format, empty rows, extra delimiters at the end of rows, etc.
Is there someone or a party that deals with the details of the COPY command that I could discuss this with?
Just for context, I am dealing with delimited data of millions of rows and perhaps 60 columns or so that I wish to read into tables in a Postgres 17 database under Windows 11, with everything on local drives.
Bryan Sayer
Retired Demographer/Statistician
In a world in which you can be anything, be kind
Hi,
I'm not sure if this is the best list to ask this (and I am very new to PostgreSQL) but I think more options are needed in the COPY from command, in order to better deal with exceptions. By exceptions I mean data not consistent with the format, empty rows, extra delimiters at the end of rows, etc.
Is there someone or a party that deals with the details of the COPY command that I could discuss this with?
Just for context, I am dealing with delimited data of millions of rows and perhaps 60 columns or so that I wish to read into tables in a Postgres 17 database under Windows 11, with everything on local drives.
On Friday, September 26, 2025 at 07:49:09 AM GMT+12, Bryan Sayer <brysayer@gmail.com> wrote:
Hi,
I'm not sure if this is the best list to ask this (and I am very new to PostgreSQL) but I think more options are needed in the COPY from command, in order to better deal with exceptions. By exceptions I mean data not consistent with the format, empty rows, extra delimiters at the end of rows, etc.
Is there someone or a party that deals with the details of the COPY command that I could discuss this with?
Just for context, I am dealing with delimited data of millions of rows and perhaps 60 columns or so that I wish to read into tables in a Postgres 17 database under Windows 11, with everything on local drives.
--
Bryan Sayer
Retired Demographer/Statistician
In a world in which you can be anything, be kind
Is there someone or a party that deals with the details of the COPY command that I could discuss this with?
On 9/25/25 11:49, Bryan Sayer wrote: > Hi, > > I'm not sure if this is the best list to ask this (and I am very new to > PostgreSQL) but I think more options are needed in the COPY from > command, in order to better deal with exceptions. By exceptions I mean > data not consistent with the format, empty rows, extra delimiters at the > end of rows, etc. What do you mean by '... deal with exceptions.'? > *Bryan Sayer* > Retired Demographer/Statistician > /In a world in which you can be anything, *be kind*/ -- Adrian Klaver adrian.klaver@aklaver.com